summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-types.h
diff options
context:
space:
mode:
authorSunil Kumar Acharya <sheggodu@redhat.com>2017-04-20 12:24:51 +0530
committerXavier Hernandez <xhernandez@datalab.es>2017-04-25 06:36:27 +0000
commitbf20b066c233a9fc7c82335a131a7969f356b89b (patch)
treefd587efb02d4213c56fa0678c15442334b16d651 /xlators/cluster/ec/src/ec-types.h
parentf071d2a285ea4802fe8f328f9f275180983fbbba (diff)
cluster/ec: Implement self-heal-window_size option
Fix implements the heal window size option for EC. This option control the maximum size of read/write operation carried out in self-heal process. BUG: 1441491 Change-Id: I6c0ef65c9ca18b0828f91b319d4f52ac5b77d0d8 Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com> Reviewed-on: https://review.gluster.org/17098 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/cluster/ec/src/ec-types.h')
-rw-r--r--xlators/cluster/ec/src/ec-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-types.h b/xlators/cluster/ec/src/ec-types.h
index f184f459c2e..3e93a1a32cc 100644
--- a/xlators/cluster/ec/src/ec-types.h
+++ b/xlators/cluster/ec/src/ec-types.h
@@ -565,6 +565,7 @@ struct _ec {
gf_boolean_t optimistic_changelog;
uint32_t background_heals;
uint32_t heal_wait_qlen;
+ uint32_t self_heal_window_size; /* max size of read/writes */
struct list_head pending_fops;
struct list_head heal_waiting;
struct list_head healing;