diff options
author | Xavi Hernandez <xhernandez@users.noreply.github.com> | 2021-02-06 01:53:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-06 06:23:28 +0530 |
commit | a37518f37d21eadc41b6ec5d544100a38c7a8bac (patch) | |
tree | 5226baa9a513cea88679c4a6545cba73a21b3fdd /xlators | |
parent | 39f75094e604798a3c938e7801510d835f41b4e9 (diff) | |
download | glusterfs-a37518f37d21eadc41b6ec5d544100a38c7a8bac.tar.gz glusterfs-a37518f37d21eadc41b6ec5d544100a38c7a8bac.tar.xz glusterfs-a37518f37d21eadc41b6ec5d544100a38c7a8bac.zip |
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 <xhernandez@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/ec/src/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c index 899894b43c..cfd574ed82 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"}, |