Bug 1380638
Summary: | Files not being opened with o_direct flag during random read operation (Glusterfs 3.8.2) | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Krutika Dhananjay <kdhananj> |
Component: | open-behind | Assignee: | Krutika Dhananjay <kdhananj> |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.2 | CC: | amukherj, bturner, bugs, kdhananj, ksandha, mpillai, pkarampu, psuriset, rcyriac, rgowdapp, rhinduja, rhs-bugs, rsussman, sasundar, shberry |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | RHGS 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.8.4-3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1377556 | Environment: | |
Last Closed: | 2017-03-23 06:06:46 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: | 1375959, 1377556, 1378695, 1378814 | ||
Bug Blocks: | 1351528 |
Description
Krutika Dhananjay
2016-09-30 08:39:37 UTC
upstream mainline : http://review.gluster.org/#/c/15537/ upstream 3.8 : http://review.gluster.org/15552 downstream patch : https://code.engineering.redhat.com/gerrit/#/c/87139/ The QE perf team will run through the regression suite with O_DIRECT enabled. The expectation is that O_DIRECT runs should perform similar to normal runs where the FSYNC time is included in the performance calculation. I will ask Karan to kick off a jenkins run tomorrow. If it performs as expected we will mark this BZ VERIFIED. -b Tested with RHGS 3.2.0 interim build ( glusterfs-3.8.4-12.el7rhgs ) with the following steps : 1.a. Created replica 3 volume with strict-o-direct enabled 1.b. Check whether open-behind is enabled on the volume. 2. Start the volume and look for strace on the brick process 3. Fuse mount the volume and using 'dd' with oflag=direct , create a file 4. After file creation, check strace logs for open calls. All open calls had O_DIRECT flags One part of the bug is that open-behind was not honoring O_DIRECT and that is verified with the above steps. 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/RHSA-2017-0486.html |