summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2018-01-17 03:54:24 -0500
committerKotresh HR <khiremat@redhat.com>2018-01-18 01:30:25 +0000
commit00751d5abebd538cafdee885cd7b63bb06b20f66 (patch)
tree2a1776ce75bee141c45f4fb9cc52fa45310d0d64 /xlators
parentce5832cf0350855da485479a48598eb962e58abd (diff)
features/bit-rot: Fix default value for scrub-throttle
Updates #302 Change-Id: Ifc23d5f8b5bc78b95f7c9d92d6df37a9168102f7 Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/bit-rot/src/bitd/bit-rot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot.c b/xlators/features/bit-rot/src/bitd/bit-rot.c
index c1e61966643..db97ce54735 100644
--- a/xlators/features/bit-rot/src/bitd/bit-rot.c
+++ b/xlators/features/bit-rot/src/bitd/bit-rot.c
@@ -2167,6 +2167,7 @@ struct volume_options options[] = {
},
{ .key = {"scrub-throttle"},
.type = GF_OPTION_TYPE_STR,
+ .default_value = "lazy",
.op_version = {GD_OP_VERSION_3_7_0},
.flags = OPT_FLAG_SETTABLE,
.description = "Scrub-throttle value is a measure of how fast "