features/error-gen: update volume options for GD2
Updates #302 Change-Id: I8d04bb4f46b1e53a8d176a75da2382fdbf0cfc6f Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
This commit is contained in:
parent
7c9b62cfff
commit
a35f158f1c
@ -1686,17 +1686,27 @@ struct volume_options options[] = {
|
||||
"ENODEV","EXDEV","EMFILE","ENFILE","ENOSYS","EINTR",
|
||||
"EFBIG","EAGAIN","GF_ERROR_SHORT_WRITE"},
|
||||
.type = GF_OPTION_TYPE_STR,
|
||||
.op_version = {3},
|
||||
.tags = {"error-gen"},
|
||||
.flags = OPT_FLAG_SETTABLE,
|
||||
|
||||
},
|
||||
|
||||
{ .key = {"random-failure"},
|
||||
.type = GF_OPTION_TYPE_BOOL,
|
||||
.default_value = "off",
|
||||
.op_version = {3},
|
||||
.tags = {"error-gen"},
|
||||
.flags = OPT_FLAG_SETTABLE,
|
||||
},
|
||||
|
||||
{ .key = {"enable"},
|
||||
{ .key = {"enable", "error-fops"},
|
||||
.type = GF_OPTION_TYPE_STR,
|
||||
.description = "Accepts a string which takes ',' separated fop "
|
||||
"strings to denote which fops are enabled for error",
|
||||
.op_version = {3},
|
||||
.tags = {"error-gen"},
|
||||
.flags = OPT_FLAG_SETTABLE,
|
||||
},
|
||||
|
||||
{ .key = {NULL} }
|
||||
|
Loading…
x
Reference in New Issue
Block a user