[stgt] VSCSI Target Driver
Bart Van Assche
bvanassche at acm.org
Wed May 26 18:49:13 CEST 2010
On Wed, May 26, 2010 at 6:06 PM, Erlon Cruz <sombrafam at gmail.com> wrote:
> Im working in a project aimed to port Linux virtio to Power
> Platform, and also documenting vscsi underling operation. While
> reading ibmvstgt.c driver, I found something I cant understand:
> The SCSI command is extracted from this transport frame (SRP)
> and then pushed to the user space daemon 'tgtd' which process it,
> right?
> In the case of read/write commands incoming from the initiator
> (vscsiclient), I guess the command is converted in a new read/write
> operation which is performed in the physical disk, is it?
> I couldn't understand how and who calls the read/write function
> ibmvstgt_rdma() (which effectively put the data from/into the disk)
> and why this function seems to be called after ibmvstgt_cmd_done()
> function. Why there isn't a queuecommand function like in
> ibmvscsiclient.c used by SCSI?
> I would be very glad if someone could shed me some light.
Does this help:
http://www.mail-archive.com/linux-rdma@vger.kernel.org/msg01846.html ?
Bart.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list