Bug 1325843
| Summary: | [HC] Add disk in a Hyper-converged environment fails when glusterfs is running in directIO mode | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Krutika Dhananjay <kdhananj> |
| Component: | sharding | Assignee: | Krutika Dhananjay <kdhananj> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | bugs <bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.7.10 | CC: | annair, bugs, kdhananj, rcyriac, rhs-bugs, sabose, sasundar, srao |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1322214 | Environment: | |
| Last Closed: | 2016-06-28 12:14:18 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: | 1314421, 1322214, 1335284 | ||
| Bug Blocks: | |||
|
Description
Krutika Dhananjay
2016-04-11 10:47:34 UTC
REVIEW: http://review.gluster.org/13966 (features/shard: Make o-direct writes work with sharding) posted (#1) for review on release-3.7 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/13966 (features/shard: Make o-direct writes work with sharding) posted (#2) for review on release-3.7 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/13966 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) ------ commit bd8ab0567017fd4dddfea738eae0bccc40b85527 Author: Krutika Dhananjay <kdhananj> Date: Tue Mar 29 18:36:08 2016 +0530 features/shard: Make o-direct writes work with sharding Backport of: http://review.gluster.org/#/c/13846/ With files opened with o-direct, the expectation is that the IO performed on the fds is byte aligned wrt the sector size of the underlying device. With files getting sharded, a single write from the application could be broken into more than one write falling on different shards which _might_ cause the original byte alignment property to be lost. To get around this, shard translator will send fsync on odirect writes to emulate o-direct-like behavior in the backend. Change-Id: I992e10162afcca17a19d9cba3bcb187a31c618ae BUG: 1325843 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/13966 Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.12, please open a new bug report. glusterfs-3.7.12 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://www.gluster.org/pipermail/gluster-devel/2016-June/049918.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |