This document illustrates the general architecture and data flow of tgtd, the iSCSI target daemon. It shows how tgtd handles iSCSI requests from initiators and processes SCSI commands by communicating with low-level driver routines and backing storage devices like mmc, osd, and sbc. Management tasks like login, logout, and error handling are also depicted.