From: Douglas Gilbert <dougg@xxxxxxxxxx> Subject: RFC: SCSI Generic version 4 interface Date: Mon, 06 Nov 2006 16:47:30 -0500 > SCSI Generic version 4 interface structure > ========================================== > Version 1.1 > > Goals: (snip) > - same structure can be used for a synchronous (e.g. interruptible > ioctl) or asynchronous (e.g. ioctl()/read() ) pass through. Can you provide details on "asynchronous" part? The scsi target code needs sg for: - SAN gateway (like iSCSI to FC) - SCSI device support in Xen (corresponds to raw device mapping in VMware); enables domU to use SCSI devices. domU sends SCSI commands via the virtual HBA driver to dom0 and then dom0 uses sg to perform them. The scsi target code uses the single user-space daemon so needs an asynchronous interface, i.e. sends requests and receives the completions asynchronously. - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html