Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1395298

Summary: RHEL 7.3: have rbd multipathd checker set lock_on_read rbd map setting
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Kolaja <mkolaja>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact: Lin Li <lilin>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.3CC: agk, bmarzins, ceph-qe-bugs, heinzm, hnallurv, hyelloji, jbrassow, mchristi, mkolaja, msnitzer, mthacker, prajnoha, snagar, yizhan
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: device-mapper-multipath-0.4.9-99.el7_3.1 Doc Type: Bug Fix
Doc Text:
Cause: When a Ceph rbd image is exported through multiple iSCSI targets, the rbd kernel module will grab the exclusive lock when it receives a write request. Consequence: If a write request is hung in the rbd module, and the iSCSI initiator and multipath layer decide to fail the request to the application, read requests sent after the failure may not reflect the state of the write. Fix: The rbd module will grab the exclusive lock for both reads and writes. This will cause hung writes to be flushed and or failed before executing reads. Result: Read requests sent after failed writes will always return the same data.
Story Points: ---
Clone Of: 1380602 Environment:
Last Closed: 2017-01-17 18:09:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1380602    
Bug Blocks:    

Description Marcel Kolaja 2016-11-15 16:11:51 UTC
This bug has been copied from bug #1380602 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 3 Ben Marzinski 2016-11-21 21:32:15 UTC
Fix backported.

Comment 9 Hemanth Kumar 2017-01-04 09:28:25 UTC
Verified the fix on following Builds

device-mapper-multipath-0.4.9-99.el7.x86_64
ceph  10.2.3-13.el7cp.x86_64

Comment 12 errata-xmlrpc 2017-01-17 18:09:28 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-2017-0076.html