diff options
author | Ravishankar N <ravishankar@redhat.com> | 2017-09-04 19:33:22 +0530 |
---|---|---|
committer | jiffin tony Thottan <jthottan@redhat.com> | 2017-09-11 10:54:39 +0000 |
commit | c283620b40cbdeeeedfb80bc9822928630ad5905 (patch) | |
tree | 510df8cf8dc68047c436534337d2542174394d48 /argp-standalone/argp-fmtstream.h | |
parent | 4867647db935439abdd8fb19d39416ce1d83b081 (diff) |
afr: heal metadata in discover code path
Combined backport of https://review.gluster.org/17850 and
https://review.gluster.org/18187
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: 1488168
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: https://review.gluster.org/18202
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Karthik U S <ksubrahm@redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Reviewed-by: jiffin tony Thottan <jthottan@redhat.com>
Diffstat (limited to 'argp-standalone/argp-fmtstream.h')
0 files changed, 0 insertions, 0 deletions