scsi-block: always use SG_IO for MMC devices
commit33ebad12637a2e1503247fbb4d2960eaaff084ee
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 14 Nov 2011 13:31:52 +0000 (14 14:31 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 18 Nov 2011 13:14:32 +0000 (18 14:14 +0100)
tree5835cd20821438d1efe89b7ac9a0e1085010dbdc
parentf3b338ef4afaba105357f62143491e51d35c5b42
scsi-block: always use SG_IO for MMC devices

CD burning messes up the state of the host page cache and host block
device.  Just pass all operations down to the device, even though that
might have slightly worse performance.  Everything else just is not
reliable in combination with burning.

Reported-by: Thomas Schmitt <scdbackup@gmx.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-disk.c