Bug 1100568
| Summary: | [barrier] O_SYNC writes from libgfapi are not barriered | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Atin Mukherjee <amukherj> |
| Component: | core | Assignee: | Atin Mukherjee <amukherj> |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | rhgs-3.0 | CC: | amukherj, gluster-bugs, kaushal, kparthas, nsathyan, rhs-bugs, sasundar, sdharane, storage-qa-internal |
| Target Milestone: | --- | ||
| Target Release: | RHGS 3.0.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.6.0.3-1.el6rhs | Doc Type: | Bug Fix |
| Doc Text: |
when barrier is enabled O_SYNC writes coming through gfapi were not getting blocked.
Investigation revealed that code was checking the flag passed in argument instead of open fd's flag which was causing this problem.
|
Story Points: | --- |
| Clone Of: | 1090488 | Environment: | |
| Last Closed: | 2014-09-22 19:39:15 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: | 1090488 | ||
| Bug Blocks: | |||
|
Description
Atin Mukherjee
2014-05-23 06:28:16 UTC
RCA: barrier_writev was checking passed in flags instead of fd's flag. Also the code didn't have O_DSYNC flag in this check. Fix http://review.gluster.org/7549 is backported in downstream. Tested with glusterfs -3.6.0.8-1.el6rhs Volume type - Distributed replicate volume with 2X2 bricks O_SYNC writes using libgfapi are blocked when barrier was enabled on the volume. marking this bug as verified 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. http://rhn.redhat.com/errata/RHEA-2014-1278.html |