diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2018-08-27 12:40:16 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2018-09-04 01:52:02 +0000 |
commit | f29689783d970cba804505d7c778c905b2ba1992 (patch) | |
tree | 14be40bab39b877e69a7a2583a7c32efbc9e44d8 /libgfchangelog.pc.in | |
parent | af0d5a9b5375a5cd87ac10b429e2b9934718ce5b (diff) |
cluster/afr: Delegate name-heal when possible
Problem:
When name-self-heal is triggered on the mount, it blocks
lookup until name-self-heal completes. But that can lead
to hangs when lot of clients are accessing a directory which
needs name heal and all of them trigger heals waiting
for other clients to complete heal.
Fix:
When a name-heal is needed but quorum number of names have the
file and pending xattrs exist on the parent, then better to
delegate the heal to SHD which will be completed as part of
entry-heal of the parent directory. We could also do the same
for quorum-number of names not present but we don't have
any known use-case where this is a frequent occurrence so
not changing that part at the moment. When there is a gfid
mismatch or missing gfid it is important to complete the heal
so that next rename doesn't assume everything is fine and
perform a rename etc
fixes bz#1622821
Change-Id: I8b002c85dffc6eb6f2833e742684a233daefeb2c
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'libgfchangelog.pc.in')
0 files changed, 0 insertions, 0 deletions