summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/timer.c
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2017-09-15 14:49:50 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2017-09-17 13:37:32 +0000
commitd3b0205dbd299ff69883133ce22ca9d0623e87e2 (patch)
treeb9cf14264e55fc9910b04a5e0764df42f3c1d256 /libglusterfs/src/timer.c
parentd31c45e659d0fd0b740ecfb98b3b92dc8dcca039 (diff)
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@redhat.com> Reviewed-on: https://review.gluster.org/18304 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'libglusterfs/src/timer.c')
0 files changed, 0 insertions, 0 deletions