summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src
diff options
context:
space:
mode:
authorAshish Pandey <aspandey@redhat.com>2018-04-05 12:09:56 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2018-04-06 07:05:55 +0000
commit351572de9f08ba378d14552538763acec8917e53 (patch)
tree36cea7119e32d3bf5a87634e736ec836cc907fb9 /xlators/cluster/ec/src
parent87c51a17a4a9d787db0ee8ed5f81e0250d2e643e (diff)
cluster/ec: Turn ON the stripe-cache option by default
Change-Id: I0a290396c30c635b13ee73004d20259efb76a954 fixes: bz#1563945 Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src')
-rw-r--r--xlators/cluster/ec/src/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c
index ebf15f784e6..ac7e8492133 100644
--- a/xlators/cluster/ec/src/ec.c
+++ b/xlators/cluster/ec/src/ec.c
@@ -1664,7 +1664,7 @@ struct volume_options options[] =
.type = GF_OPTION_TYPE_INT,
.min = 0,/*Disabling stripe_cache*/
.max = EC_STRIPE_CACHE_MAX_SIZE,
- .default_value = "0",
+ .default_value = "4",
.description = "This option will keep the last stripe of write fop"
"in memory. If next write falls in this stripe, we need"
"not to read it again from backend and we can save READ"