Am 13.10.2011 13:04, schrieb Paolo Bonzini:
> scsi-block is a new device that supports device passthrough of Linux
> block devices (i.e. /dev/sda, not /dev/sg0).  It uses SG_IO for commands
> other than I/O commands, and regular AIO read/writes for I/O commands.
> Besides being simpler to configure (no mapping required to scsi-generic
> device names), this removes the need for a large bounce buffer and,
> in the future, will get scatter/gather support for free from scsi-disk.
> 
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>

This doesn't seem to use much of scsi-disk, so what about exporting
&scsi_disk_reqops and adding a separate file scsi-block.c? Would make
things a bit more symmetrical between scsi-disk and scsi-generic.

Or will future patches add code that depends on internal interfaces of
scsi-disk?

Kevin

Reply via email to