diff options
author | Ravishankar N <ravishankar@redhat.com> | 2017-12-11 16:14:03 +0530 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2017-12-19 04:26:02 +0000 |
commit | d341f20230b9921391aff22337eaf9be82f44d88 (patch) | |
tree | a6ef59b7088f4db5cb9b2c9f61cbaa70333a61ff /api | |
parent | 42b8df4704c93b35c8b536074df87065ca8eb5c4 (diff) |
feature/bitrot: remove internal xattrs from lookup cbk
Problem:
afr requests all xattrs in lookup via the list-xattr key. If bitrot is
enabled and later disabled, or if the bitrot xattrs were present due to
an older version of bitrot which used to create the xattrs without
enabling the feature, the xattrs (trusted.bit-rot.version in particular)
was not getting filtered and ended up reaching the client stack. AFR, on
noticing different values of the xattr across bricks of the replica,
started triggering spurious metadata heals.
Fix:
Filter all internal xattrs in bitrot xlator before unwinding lookup,
(f)getxattr.
Thanks to Kotresh for the help in RCA'ing.
Change-Id: I5bc70e4b901359c3daefc67b8e4fa6ddb47f046c
BUG: 1524365
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions