summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorHarshavardhana <harsha@gluster.com>2010-12-15 19:46:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-12-27 20:50:49 -0800
commite7512cbb171856a925b7db938da423b493339b00 (patch)
tree920b743678e443985d237071044064705a4791c1 /xlators/mgmt
parente89a57733381b5fc70128eefc3184c03004b994a (diff)
Add volume key to select data-self-heal-algorithm
Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2218 (Replicate self-heal causes servers to go 100% cpu and unresponsive.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2218
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 257f32a31..27acaf271 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -97,6 +97,7 @@ static struct volopt_map_entry glusterd_volopt_map[] = {
{"cluster.self-heal-window-size", "cluster/replicate", "data-self-heal-window-size",},
{"cluster.data-change-log", "cluster/replicate", }, /* NODOC */
{"cluster.metadata-change-log", "cluster/replicate", }, /* NODOC */
+ {"cluster.data-self-heal-algorithm", "cluster/replicate", "data-self-heal-algorithm"},
{"cluster.stripe-block-size", "cluster/stripe", "block-size",},