diff options
author | Kotresh HR <khiremat@redhat.com> | 2017-08-31 07:06:28 -0400 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2017-11-17 06:18:17 +0000 |
commit | 2bfe2cec0c0832b703f0da472ad6584f9d8898e2 (patch) | |
tree | f34464f83b1c68d0df064112de7af80af5ca38e4 /xlators/features/bit-rot | |
parent | dd80e9e33bc42d11c6cba375bca2ee9a2db9776c (diff) |
feature/bitrot: stub xlators opts for GD2
Updates #302
Change-Id: I320eabf0c83295e90a312316a8373ccf5bf91dc4
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot')
-rw-r--r-- | xlators/features/bit-rot/src/stub/bit-rot-stub.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/features/bit-rot/src/stub/bit-rot-stub.c b/xlators/features/bit-rot/src/stub/bit-rot-stub.c index 8571789540f..035269af3ef 100644 --- a/xlators/features/bit-rot/src/stub/bit-rot-stub.c +++ b/xlators/features/bit-rot/src/stub/bit-rot-stub.c @@ -3504,10 +3504,15 @@ struct volume_options options[] = { { .key = {"bitrot"}, .type = GF_OPTION_TYPE_BOOL, .default_value = "off", + .op_version = {GD_OP_VERSION_3_7_0}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_FORCE, + .tags = {"bitrot"}, .description = "enable/disable bitrot stub" }, { .key = {"export"}, .type = GF_OPTION_TYPE_PATH, + .op_version = {GD_OP_VERSION_3_7_0}, + .tags = {"bitrot"}, .description = "brick path for versioning" }, { .key = {NULL} }, |