[Bugs] [Bug 1361449] Direct io to sharded files fails when on zfs backend
bugzilla at redhat.com
bugzilla at redhat.com
Fri Jul 29 06:35:41 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1361449
--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/15042 committed in release-3.8 by Pranith
Kumar Karampuri (pkarampu at redhat.com)
------
commit b653bcbf652e05659189e2f9dbb9767dcd969d55
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date: Thu Jul 28 22:37:38 2016 +0530
storage/posix: Look for file in "unlink" dir IFF open on real-path fails
with ENOENT
Backport of: http://review.gluster.org/#/c/15039/
PROBLEM:
In some of our users' setups, open() on the anon fd failed for
a reason other than ENOENT. But this error code is getting masked
by a subsequent open() under posix's hidden "unlink" directory, which
will fail with ENOENT because the gfid handle still exists under
.glusterfs.
And the log message following the two open()s ends up logging ENOENT,
causing much confusion.
FIX:
Look for the presence of the file under "unlink" ONLY if the open()
on the real_path failed with ENOENT.
Change-Id: Id83782fb3995d578881f7a586c83c3e0baea2ae8
BUG: 1361449
Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
Reviewed-on: http://review.gluster.org/15042
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=nNNAbGfpo6&a=cc_unsubscribe
More information about the Bugs
mailing list