diff options
author | Hannes Reinecke <hare@suse.de> | 2009-05-18 14:41:30 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-05-18 14:41:30 +0200 |
commit | 1cde26f928863d90e9e7c1217880c8450464d305 (patch) | |
tree | e0f6e5157cccc8ab8b87b1192a1da6ddc6113e82 /drivers/md/dm-path-selector.h | |
parent | 6c3b46f74587d46e71b8c2b78fdca626a3aca280 (diff) |
virtio_blk: SG_IO passthru support
Add support for SG_IO passthru to virtio_blk. We add the scsi command
block after the normal outhdr, and the scsi inhdr with full status
information aswell as the sense buffer before the regular inhdr.
[hch: forward ported, added the VIRTIO_BLK_F_SCSI flags, some comments
and tested the whole beast]
[axboe: updated to use ->resid and not dual-path the byte count]
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (+ checkpatch.pl tweak)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/md/dm-path-selector.h')
0 files changed, 0 insertions, 0 deletions