quota: new volume set option to track of quota in GD2
quota enable as volume set needs a new option to keep track of it. Bugzilla ID:1600812 Change-Id: Ib8d770936bafe859f80e717409bd861760090e59 fixes: bz#1600812 Signed-off-by: Hari Gowtham <hgowtham@redhat.com>
This commit is contained in:
parent
8d7be4ac0c
commit
c0e76377d0
@ -5332,6 +5332,16 @@ struct xlator_dumpops dumpops = {
|
||||
.priv = quota_priv_dump,
|
||||
};
|
||||
struct volume_options options[] = {
|
||||
{.key = {"enable"},
|
||||
.type = GF_OPTION_TYPE_BOOL,
|
||||
.default_value = "off",
|
||||
.description = "enable is the volume option that can be used "
|
||||
"to turn on quota.",
|
||||
.op_version = {1},
|
||||
.flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC,
|
||||
.level = OPT_STATUS_BASIC,
|
||||
.tags = {},
|
||||
},
|
||||
{.key = {"deem-statfs"},
|
||||
.type = GF_OPTION_TYPE_BOOL,
|
||||
.default_value = "on",
|
||||
|
Loading…
x
Reference in New Issue
Block a user