diff options
author | Ravishankar N <ravishankar@redhat.com> | 2015-12-12 11:49:20 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-12-20 21:28:48 -0800 |
commit | 2b7226f9d3470d8fe4c98c1fddb06e7f641e364d (patch) | |
tree | a5a1b6aa42d2b6e0544d80ba63f31fc3491dde76 /xlators/protocol/client/Makefile.am | |
parent | a99bbccbb5e3087b9b8b687ee2be8887eeac0d08 (diff) |
afr: handle bad objects during lookup/inode_refresh
If an object (file) is marked bad by bitrot, do not consider the brick
on which the object is present as a potential read subvolume for AFR
irrespective of the pending xattr values.
Also do not consider the brick containing the bad object while
performing afr_accuse_smallfiles(). Otherwise if the bad object's size
is bigger, we may end up considering that as the source.
Change-Id: I4abc68e51e5c43c5adfa56e1c00b46db22c88cf7
BUG: 1290965
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/12955
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/protocol/client/Makefile.am')
0 files changed, 0 insertions, 0 deletions