summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2017-08-31 15:06:19 +0530
committersoumya k <skoduri@redhat.com>2017-11-17 10:30:34 +0000
commit1d18ec3f04d1e27309471daadea345cf25534b5e (patch)
treed73904908dd4a5a5c27ffe4fe8ee7254811baadc /xlators
parentaaebac4a5e60b564350f8579c7ebafd06e9a7ca6 (diff)
Upcall: Add new GD2 fields to upcall xlator options
Add new fields used by GD2 to the upcall xlator options. Updates #302 Change-Id: Ia684648aa06312ca9649f00af17575162adb4996 Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/upcall/src/upcall.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/xlators/features/upcall/src/upcall.c b/xlators/features/upcall/src/upcall.c
index 9d17d595783..b9b4bc9d725 100644
--- a/xlators/features/upcall/src/upcall.c
+++ b/xlators/features/upcall/src/upcall.c
@@ -2598,14 +2598,20 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_BOOL,
.default_value = "off",
.description = "When \"on\", sends cache-invalidation"
- " notifications."
+ " notifications.",
+ .op_version = {GD_OP_VERSION_3_7_0},
+ .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC,
+ .tags = {"cache", "cacheconsistency", "upcall"},
},
{ .key = {"cache-invalidation-timeout"},
.type = GF_OPTION_TYPE_INT,
.default_value = CACHE_INVALIDATION_TIMEOUT,
.description = "After 'timeout' seconds since the time"
" client accessed any file, cache-invalidation"
- " notifications are no longer sent to that client."
+ " notifications are no longer sent to that client.",
+ .op_version = {GD_OP_VERSION_3_7_0},
+ .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC,
+ .tags = {"cache", "cachetimeout", "upcall"}
},
{ .key = {NULL} },
};