Paolo, List

Please find a patch that adds emulation of SG_IO to the synchronous function
bdrv_ioctl()/iscsi_ioctl().
Previously we have only supported emulation for this ioctl in iSCSI for the
asynchronous function iscsi_aio_ioctl() since that is the only place 
scsi-generic uses SG_IO.

By adding support for SG_IO to iscsi_ioctl() this makes scsi-block and 
scsi-disk work too.


Since scsi-block/scsi-disk never worked with iscsi, and only scsi-generic 
worked, this is not a new regression. So whether this should go in now or wait 
until post 1.2 is for your disgression.

regards
ronnie sahlberg



Reply via email to