diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index c2af51d0f65..fd1ba3e9b49 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1268,7 +1268,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = VKEY_FEATURES_BITROT, .voltype = "features/bitrot", .option = "bitrot", - .value = "off", + .value = "disable", .type = NO_DOC, .flags = OPT_FLAG_FORCE, .op_version = GD_OP_VERSION_3_7_0 @@ -1779,26 +1779,23 @@ struct volopt_map_entry glusterd_volopt_map[] = { .op_version = GD_OP_VERSION_3_7_0, .flags = OPT_FLAG_CLIENT_OPT }, - { .key = "features.bitrot", - .voltype = "features/bitrot-stub", - .value = "disable", - .op_version = GD_OP_VERSION_3_7_0, - .type = NO_DOC, - }, { .key = "features.scrub-throttle", .voltype = "features/bitrot", - .value = "normal", + .value = "lazy", + .option = "scrub-throttle", .op_version = GD_OP_VERSION_3_7_0, .type = NO_DOC, }, { .key = "features.scrub-freq", .voltype = "features/bitrot", - .value = "monthly", + .value = "biweekly", + .option = "scrub-frequency", .op_version = GD_OP_VERSION_3_7_0, .type = NO_DOC, }, { .key = "features.scrub", .voltype = "features/bitrot", + .option = "scrubber", .op_version = GD_OP_VERSION_3_7_0, .type = NO_DOC, }, |