From 1d18ec3f04d1e27309471daadea345cf25534b5e Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Thu, 31 Aug 2017 15:06:19 +0530 Subject: 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 --- xlators/features/upcall/src/upcall.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'xlators') 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} }, }; -- cgit