summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-08-31 10:06:45 +0530
committerAnand Avati <avati@gluster.com>2011-09-06 02:15:57 -0700
commitf1fec244b043fc74999692b181d321827daf8677 (patch)
tree87a96643feb1717ea0241e72478aec8013ff8829 /xlators/cluster/afr
parent992e580df4a38bb96b0114a3b033d0dc0b8425b7 (diff)
cluster/afr: Bring down the self-heal window size to 1
This is brought in an effort to be nice to the system resources when self-heal is in progress. Change-Id: I123f1eb4d8000613a35c0117f0aa27f926f3a921 BUG: 3503 Reviewed-on: http://review.gluster.com/333 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index 903060f4934..46091523e88 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -431,7 +431,7 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_INT,
.min = 1,
.max = 1024,
- .default_value = "16",
+ .default_value = "1",
.description = "Maximum number blocks per file for which self-heal "
"process would be applied simultaneously."
},