diff options
author | Gaurav Kumar Garg <ggarg@redhat.com> | 2015-05-27 14:36:24 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-06-03 23:37:59 -0700 |
commit | 79d8916929f7d5b85a09ae9b75eadf945a3e11fb (patch) | |
tree | 040277acd9ee1ed9b9170878a161ffe3f03a06d4 /xlators/mgmt/glusterd/src/glusterd-volume-set.c | |
parent | e1fb4e9ca7905243b57761ae1edb62a3fed76fc4 (diff) |
bitrot/glusterd: scrub option should be disabled once bitrot option is reset
Scrubber options should be disabled from the dictionary if user reset
bitrot option.
Change-Id: Ic7e390cf88b9b749f0ada8bbd4632f4cc0c4aff9
BUG: 1220713
Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com>
Reviewed-on: http://review.gluster.org/10936
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index cdcb594258f..ec107b55bf7 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1846,6 +1846,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { .voltype = "features/bitrot", .option = "scrubber", .op_version = GD_OP_VERSION_3_7_0, + .flags = OPT_FLAG_FORCE, .type = NO_DOC, }, /* Upcall translator options */ |