summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heald.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2013-12-09 16:46:06 +0530
committerVijay Bellur <vbellur@redhat.com>2013-12-16 21:37:30 -0800
commit9031a90613c1cadcab32c418e0e2cc5b14afbba1 (patch)
tree49bad662c0e18b09ca42a35575e0d27e392202e6 /xlators/cluster/afr/src/afr-self-heald.c
parent588185463d1bbf1b011e3b0471771b3d4f4aa145 (diff)
cluster/afr: Add foreground self-heal launch capability through lookup
Also renamed allow-sh-for-running-transaction -> attempt-self-heal Change-Id: I134cc79e663b532e625ffc342c59e49e71644ab3 BUG: 1039544 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/6463 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: venkatesh somyajulu <vsomyaju@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heald.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c
index 8dbb9c69e71..dfa91d78501 100644
--- a/xlators/cluster/afr/src/afr-self-heald.c
+++ b/xlators/cluster/afr/src/afr-self-heald.c
@@ -641,7 +641,7 @@ _self_heal_entry (xlator_t *this, afr_crawl_data_t *crawl_data, gf_dirent_t *ent
goto out;
}
- ret = dict_set_int32 (xattr_req, "allow-sh-for-running-transaction", 1);
+ ret = dict_set_int32 (xattr_req, "attempt-self-heal", 1);
gf_log (this->name, GF_LOG_DEBUG, "lookup %s", child->path);