summaryrefslogtreecommitdiffstats
path: root/heal
diff options
context:
space:
mode:
authorkarthik-us <ksubrahm@redhat.com>2017-10-18 16:43:16 +0530
committerjiffin tony Thottan <jthottan@redhat.com>2017-11-30 06:42:49 +0000
commit0324e3cb954f9b8a74af5577a78ed4e2419dd1df (patch)
tree93b4ed5ba7ca0f82ba803deacedbcd43b80bbf38 /heal
parent29b633ad5d3cd97951679e47651f552f0a96dc5d (diff)
cluster/afr: Honor default timeout of 5min for analyzing split-brain files
Problem: After setting split-brain-choice option to analyze the file to resolve the split brain using the command "setfattr -n replica.split-brain-choice -v "choiceX" <path-to-file>" should allow to access the file from mount for default timeout of 5mins. But the timeout was not honored and was able to access the file even after the timeout. Fix: Call the inode_invalidate() in afr_set_split_brain_choice_cbk() so that it will triger the cache invalidate after resetting the timer and the split brain choice. So the next calls to access the file will fail with EIO. Change-Id: I698cb833676b22ff3e4c6daf8b883a0958f51a64 BUG: 1514380 Signed-off-by: karthik-us <ksubrahm@redhat.com> (cherry picked from commit 933ec57ccda2c1ba5ce6f207313c3b6802e67ca3)
Diffstat (limited to 'heal')
0 files changed, 0 insertions, 0 deletions