VSCSI Target Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi fellows,
      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.
Regards,
Erlon
--
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


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux