diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2012-12-17 14:16:37 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-12-17 12:45:38 -0500 |
commit | 6cd78bb644a2ee1fb34185b5a86002ef4c536173 (patch) | |
tree | 1cb1be15cd5a3e6250b72130b0ee5ebe42d125c0 /xlators/cluster/afr/src/afr-open.c | |
parent | 3dddca7eeb15c017a268c849ea6287f6e3a838bb (diff) |
cluster/afr: Provide option to disable readdir failover
In a replica pair unlike files, directories may not have their
content in same order, so readdir for same (offset, size) may
not give same entries on both the sobvolumes of replica pair.
Switching over from one subvolume to another may not be a good
idea sometimes. It may lead to duplicate entries or fewer entries
or both. This patch provides a way to disable readdir-failover
so that applications like rebalance can retry if they want to.
Change-Id: I02e5762e7f8a5847eaf54356e5d6b5f49fe6c609
BUG: 859387
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/1989
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-open.c')
0 files changed, 0 insertions, 0 deletions