path: root/xlators/cluster/afr/src/afr-transaction.c
diff options
authorPranith Kumar K <>2013-02-28 14:50:16 +0530
committerAnand Avati <>2013-04-03 23:03:10 -0700
commitdcf3ecd3c08b37226481b81fb0f8b3987cbcbab4 (patch)
tree396bf4a65eeef7671ff3f6254586b40c3b2c05a2 /xlators/cluster/afr/src/afr-transaction.c
parent5cdd09c3087e7f0581392dd06d4a1d587176abcb (diff)
cluster/afr: Treat all dir fop failure as success in changelog
For example: If a new entry creation fop fails with EEXIST or a delete entry fop fails with ENOENT, on all the subvols the fop is wound, then no change took place to the directory. So we can treat that case as no change happened to the directory. Change-Id: I3b3a7931954da2166a9cba19ff9f76f37739d751 BUG: 860210 Signed-off-by: Pranith Kumar K <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to 'xlators/cluster/afr/src/afr-transaction.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c
index 50c15c3463f..502e1ed496f 100644
--- a/xlators/cluster/afr/src/afr-transaction.c
+++ b/xlators/cluster/afr/src/afr-transaction.c
@@ -162,7 +162,7 @@ __mark_non_participant_children (int32_t *pending[], int child_count,
-static void
__mark_all_success (int32_t *pending[], int child_count,
afr_transaction_type type)