This BZ is for adding scsi-block fixes to qemu-kvm-rhev, needed for MS cluster services.
See upstream work:
[Qemu-devel] [PATCH 0/4] scsi-block: receive the right SCSI status on reads and writes
"scsi-block uses the block layer for reads and writes in order to avoid
allocating bounce buffers as big as the transferred data. We know how
to split a large transfer to multiple reads and writes, and thus we can
use scsi-disk.c's existing code to do I/O in multiple chunks (for non-s/g
SCSI hosts) or through the DMA helpers (for s/g SCSI hosts).
Unfortunately, this has the side effect of eating the SCSI status except
in the very few cases where we can convert an errno code back to a SCSI
status. It puts a big wrench in persistent reservations support in the
guest, for example.
Luckily, splitting a large transfer into multiple SBC commands is just as
easy, and this is what the last patch does. It takes the original CDB,
patches in a modified starting sector and sector count, and executes the
SCSI command through blk_aio_ioctl. It is also easy to pass a QEMUIOVector
to SG_IO, so that s/g SCSI hosts keep the performance."
Fix included in qemu-kvm-rhev-2.6.0-5.el7
Fix included in qemu-kvm-rhev-2.6.0-6.el7
Created attachment 1203599 [details]
storage validate testing result
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.