|
|
c460ee |
From 1fa01865eb9bf6a1113669c262fc526ef11f61f2 Mon Sep 17 00:00:00 2001
|
|
|
c460ee |
From: Xavi Hernandez <xhernandez@users.noreply.github.com>
|
|
|
c460ee |
Date: Sat, 6 Feb 2021 01:53:28 +0100
|
|
|
c460ee |
Subject: [PATCH 553/584] cluster/ec: Change self-heal-window-size to 4MiB by
|
|
|
c460ee |
default (#2071)
|
|
|
c460ee |
|
|
|
c460ee |
The current block size used for self-heal by default is 128 KiB. This
|
|
|
c460ee |
requires a significant amount of management requests for a very small
|
|
|
c460ee |
portion of data healed.
|
|
|
c460ee |
|
|
|
c460ee |
With this patch the block size is increased to 4 MiB. For a standard
|
|
|
c460ee |
EC volume configuration of 4+2, this means that each healed block of
|
|
|
c460ee |
a file will update 1 MiB on each brick.
|
|
|
c460ee |
|
|
|
c460ee |
Upstream patch details:
|
|
|
c460ee |
> https://github.com/gluster/glusterfs/pull/2071
|
|
|
c460ee |
> Change-Id: Ifeec4a2d54988017d038085720513c121b03445b
|
|
|
c460ee |
> Updates: #2067
|
|
|
c460ee |
> Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
|
|
|
c460ee |
|
|
|
c460ee |
BUG: 1946171
|
|
|
c460ee |
Change-Id: I9e3eed2d83c9de54242e6161b2e3951c2f6f8000
|
|
|
c460ee |
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
|
|
|
c460ee |
Reviewed-on: https://code.engineering.redhat.com/gerrit/c/rhs-glusterfs/+/244558
|
|
|
c460ee |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
c460ee |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
c460ee |
---
|
|
|
c460ee |
xlators/cluster/ec/src/ec.c | 2 +-
|
|
|
c460ee |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
c460ee |
|
|
|
c460ee |
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c
|
|
|
c460ee |
index 4118c3b..a930089 100644
|
|
|
c460ee |
--- a/xlators/cluster/ec/src/ec.c
|
|
|
c460ee |
+++ b/xlators/cluster/ec/src/ec.c
|
|
|
c460ee |
@@ -1644,7 +1644,7 @@ struct volume_options options[] = {
|
|
|
c460ee |
.type = GF_OPTION_TYPE_INT,
|
|
|
c460ee |
.min = 1,
|
|
|
c460ee |
.max = 1024,
|
|
|
c460ee |
- .default_value = "1",
|
|
|
c460ee |
+ .default_value = "32",
|
|
|
c460ee |
.op_version = {GD_OP_VERSION_3_11_0},
|
|
|
c460ee |
.flags = OPT_FLAG_SETTABLE | OPT_FLAG_CLIENT_OPT | OPT_FLAG_DOC,
|
|
|
c460ee |
.tags = {"disperse"},
|
|
|
c460ee |
--
|
|
|
c460ee |
1.8.3.1
|
|
|
c460ee |
|