On Wed, May 26, 2010 at 6:06 PM, Erlon Cruz <sombrafam@xxxxxxxxx> 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@xxxxxxxxxxxxxxx/msg01846.html ? Bart. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html