diff options
author | Ravishankar N <ravishankar@redhat.com> | 2017-07-21 15:21:20 +0530 |
---|---|---|
committer | Ravishankar N <ravishankar@redhat.com> | 2017-08-16 11:46:47 +0000 |
commit | 468ca877807625817b72921d1e9585036687b640 (patch) | |
tree | 369baad7a16319217b273f4a7ea112049ee5f282 /xlators/mount | |
parent | d396d358d4f0cfe87693179cfd13eb2a84ce62c2 (diff) |
afr: heal metadata in discover code path
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.
Also removed creating superfluous heal frames when launching heal.
Change-Id: I49868649361ebe5d70b6ea150f4686169b6c3070
BUG: 1473636
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: https://review.gluster.org/17850
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>
Diffstat (limited to 'xlators/mount')
0 files changed, 0 insertions, 0 deletions