diff options
author | Ashish Pandey <aspandey@redhat.com> | 2020-07-23 11:07:32 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2020-07-29 12:41:24 +0000 |
commit | ba1b0a471dec968633f89c7f790b099fb4ad700d (patch) | |
tree | 23a1c8adca3661fd298b938e42598ee5eb53ad9d /xlators/mgmt/glusterd/src/glusterd-ganesha.c | |
parent | ca7fda9068dbaf1a8083c673c8cbee29a49a50d5 (diff) |
cluster/ec: Remove stale entries from indices/xattrop folder
Problem:
If a gfid is present in indices/xattrop folder while
the file/dir is actaully healthy and all the xattrs are healthy,
it causes lot of lookups by shd on an entry which does not need
to be healed.
This whole process eats up lot of CPU usage without doing meaningful
work.
Solution:
Set trusted.ec.dirty xattr of the entry so that actual heal process
happens and at the end of it, during unset of dirty, gfid enrty from
indices/xattrop will be removed.
Change-Id: Ib1b9377d8dda384bba49523e9ff6ba9f0699cc1b
Fixes: #1385
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-ganesha.c')
0 files changed, 0 insertions, 0 deletions