diff options
Diffstat (limited to 'xlators/features/leases/src/leases.c')
-rw-r--r-- | xlators/features/leases/src/leases.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/features/leases/src/leases.c b/xlators/features/leases/src/leases.c index 194d5f34aa8..d4fdbfb7ea1 100644 --- a/xlators/features/leases/src/leases.c +++ b/xlators/features/leases/src/leases.c @@ -1128,11 +1128,15 @@ struct volume_options options[] = { { .key = {"leases"}, .type = GF_OPTION_TYPE_BOOL, .default_value = "off", + .op_version = {GD_OP_VERSION_3_8_0}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC, .description = "When \"on\", enables leases support" }, { .key = {"lease-lock-recall-timeout"}, .type = GF_OPTION_TYPE_INT, .default_value = RECALL_LEASE_LK_TIMEOUT, + .op_version = {GD_OP_VERSION_3_8_0}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC, .description = "After 'timeout' seconds since the recall_lease" " request has been sent to the client, the lease lock" " will be forcefully purged by the server." |