From 5ed9ab30676eb1dbdb233f0a066fe7c4b93d21a2 Mon Sep 17 00:00:00 2001 From: Xavi Hernandez Date: Sat, 6 Feb 2021 01:53:28 +0100 Subject: cluster/ec: Change self-heal-window-size to 4MiB by default (#2071) The current block size used for self-heal by default is 128 KiB. This requires a significant amount of management requests for a very small portion of data healed. With this patch the block size is increased to 4 MiB. For a standard EC volume configuration of 4+2, this means that each healed block of a file will update 1 MiB on each brick. Change-Id: Ifeec4a2d54988017d038085720513c121b03445b Updates: #2067 Signed-off-by: Xavi Hernandez --- xlators/cluster/ec/src/ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c index ee11535cfe..c4c9e17eff 100644 --- a/xlators/cluster/ec/src/ec.c +++ b/xlators/cluster/ec/src/ec.c @@ -1794,7 +1794,7 @@ struct volume_options options[] = { .type = GF_OPTION_TYPE_INT, .min = 1, .max = 1024, - .default_value = "1", + .default_value = "32", .op_version = {GD_OP_VERSION_3_11_0}, .flags = OPT_FLAG_SETTABLE | OPT_FLAG_CLIENT_OPT | OPT_FLAG_DOC, .tags = {"disperse"}, -- cgit