diff options
author | shishir gowda <shishirng@gluster.com> | 2011-11-11 13:27:13 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-11-11 01:57:05 -0800 |
commit | 0cb2ac3521468cd37ac9e4a67db6e8b29725cf77 (patch) | |
tree | 5089f1f186f190852ea4c5ec892078a6a4b4d25b /xlators/cluster/dht/src/dht-common.h | |
parent | f72fb71e8cd0c95d761e70def39ea02b702ffe7c (diff) |
cluster/distribute: Trigger selfheal only if rmdir succeeded once
A EACCES error also should not trigger a selfheal.
Only if rmdir succeeded on any subvol, a selfheal should be triggered
Change-Id: I1dd39db830e9396b1dc6d6edbaa6de6ea83e9070
BUG: 3786
Reviewed-on: http://review.gluster.com/715
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index c9e4e9261..01e35da02 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -96,6 +96,7 @@ struct dht_local { char need_selfheal; int file_count; int dir_count; + int fop_succeeded; call_frame_t *main_frame; struct { fop_mknod_cbk_t linkfile_cbk; |