RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1338043 - scsi-block fix - receive the right SCSI status on reads and writes
Summary: scsi-block fix - receive the right SCSI status on reads and writes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: FuXiangChun
URL:
Whiteboard: storage
Depends On:
Blocks: 1219841 1305606
TreeView+ depends on / blocked
 
Reported: 2016-05-20 21:33 UTC by Karen Noel
Modified: 2022-03-13 14:03 UTC (History)
14 users (show)

Fixed In Version: qemu-kvm-rhev-2.6.0-6.el7
Doc Type: Enhancement
Doc Text:
The vioscsi.sys file is now compatible with Microsoft Cluster Services, which enables the Windows virtio-scsi driver to support Windows Server Failover Clustering (WSFC) using shared storage. As a result, vioscsi.sys can pass all tests in the "Validate a Configuration" process.
Clone Of: 1219841
Environment:
Last Closed: 2016-11-07 21:11:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
storage validate testing result (143.20 KB, image/png)
2016-09-22 05:52 UTC, FuXiangChun
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2673 0 normal SHIPPED_LIVE qemu-kvm-rhev bug fix and enhancement update 2016-11-08 01:06:13 UTC

Description Karen Noel 2016-05-20 21:33:34 UTC
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
http://marc.info/?l=qemu-devel&m=146296689703152&w=2

"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."

Comment 1 Miroslav Rezanina 2016-06-06 10:51:26 UTC
Fix included in qemu-kvm-rhev-2.6.0-5.el7

Comment 3 Miroslav Rezanina 2016-06-15 13:08:17 UTC
Fix included in qemu-kvm-rhev-2.6.0-6.el7

Comment 14 FuXiangChun 2016-09-22 05:52:09 UTC
Created attachment 1203599 [details]
storage validate testing result

Comment 20 errata-xmlrpc 2016-11-07 21:11:01 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-2673.html


Note You need to log in before you can comment on or make changes to this bug.