Bug 1380602
Summary: | RHEL 7.3: have rbd multipathd checker set lock_on_read rbd map setting | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Mike Christie <mchristi> | |
Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> | |
Status: | CLOSED ERRATA | QA Contact: | Lin Li <lilin> | |
Severity: | unspecified | Docs Contact: | Steven J. Levine <slevine> | |
Priority: | high | |||
Version: | 7.3 | CC: | agk, bmarzins, ceph-qe-bugs, heinzm, icolle, jbrassow, lilin, mchristi, mkolaja, msnitzer, mthacker, pasik, pbyregow, prajnoha, snagar, yizhan | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | device-mapper-multipath-0.4.9-100.el7 | Doc Type: | Bug Fix | |
Doc Text: |
Read requests sent after failed writes will always return the same data on multipath devices
Previously, if a write request wass hung in the `rbd` module, and the iSCSI initiator and multipath layer decided to fail the request to the application, read requests sent after the failure may not have reflected the state of the write. This was because 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. With this 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. As a result, read requests sent after failed writes will always return the same data.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1395298 (view as bug list) | Environment: | ||
Last Closed: | 2017-08-01 16:34:26 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 1378186, 1379890, 1395298 |
Description
Mike Christie
2016-09-30 05:22:57 UTC
applied "rbd: use lock_on_read if set" patch http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=commit;h=eeedea6b066ba99308aca3f286aef13b9c93c85e Rearranging doc text for release note format. Ben: I'm not finding Mike Christie in Red Hat email, so could you check what the doc text now says, to be sure that the sentence rearrangement doesn't change the meaning? The only thing I actually changed was to add the word "multipath" to the summary title, to clarify that this is a multipath bz (in the context of the release notes), but if that is not correct please let me know. This looks good to me. I'm here still :) Not sure what happened to my email. This looks ok to me. Thanks Ben and Steven. 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://access.redhat.com/errata/RHBA-2017:1961 |