summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.c
diff options
context:
space:
mode:
authorJules.Wang <lancelotds@163.com>2012-09-04 05:42:41 +0800
committerAnand Avati <avati@redhat.com>2012-09-06 18:25:19 -0700
commitdd7bc2d8834e02eef4a98d26e2bfb21ab7695539 (patch)
tree2daec68bf11d38b15449ce4b0ce35cbb4b72f322 /xlators/cluster/afr/src/afr.c
parentca21f6bff47ae0ee564ee4ebbba04da3b0ff2128 (diff)
afr: add option description of 'open'.
Signed-off-by: Jules Wang <lancelotds@163.com> Change-Id: I6c7dd337c758e82e9d58d4d65f53b5aa72ac5dfb BUG: 764890 Reviewed-on: http://review.gluster.org/3895 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr.c')
-rw-r--r--xlators/cluster/afr/src/afr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index 846f985de51..77f00ef724e 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -564,6 +564,8 @@ struct volume_options options[] = {
"0", "off", "no", "false", "disable",
"open"},
.default_value = "on",
+ .description = "\"open\" means data self-heal action will"
+ "only be triggered by file open operations."
},
{ .key = {"data-self-heal-algorithm"},
.type = GF_OPTION_TYPE_STR,