[Bugs] [Bug 1492010] Launch metadata heal in discover code path.
bugzilla at redhat.com
bugzilla at redhat.com
Sun Sep 17 13:37:35 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1492010
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18304 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com)
------
commit d3b0205dbd299ff69883133ce22ca9d0623e87e2
Author: Ravishankar N <ravishankar at redhat.com>
Date: Fri Sep 15 14:49:50 2017 +0530
afr: heal metadata in discover code path
******************************************************
Backport of: https://review.gluster.org/18202
Also added loc_is_nameless() to libglusterfs since the patch that
introduced it in master was not backported to release-3.10.
Note: 18202 is a squash of 17850 and 18187 in master.
******************************************************
During graph switch, if fuse sends nameless (gfid) lookups, afr takes
the discover code path to serve it. If there are pending metadata heals,
they do not happen unless an inode refresh happens as a part of
discover (which is not guaranteed to happen always).
This patch fixes it by attempting metadata heal as a part of discover,
just like how it is done in lookup code path.
Change-Id: I87c493045b9225741cad173bf3f645848697032e
BUG: 1492010
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
Reviewed-on: https://review.gluster.org/18304
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
--
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=ZZc5ZDbO9w&a=cc_unsubscribe
More information about the Bugs
mailing list