From 351572de9f08ba378d14552538763acec8917e53 Mon Sep 17 00:00:00 2001 From: Ashish Pandey Date: Thu, 5 Apr 2018 12:09:56 +0530 Subject: cluster/ec: Turn ON the stripe-cache option by default Change-Id: I0a290396c30c635b13ee73004d20259efb76a954 fixes: bz#1563945 Signed-off-by: Ashish Pandey --- xlators/cluster/ec/src/ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/ec/src') 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" -- cgit