From c26cadd31dfa128c4ec6883f69d654813f351018 Mon Sep 17 00:00:00 2001 From: Poornima G Date: Fri, 30 Jun 2017 12:52:21 +0530 Subject: quick-read: Integrate quick read with upcall and increase cache time Fixes : #261 Co-author: Subha sree Mohankumar Change-Id: Ie9dd94e86459123663b9b200d92940625ef68eab Signed-off-by: Poornima G --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 8a3f6a49184..34c246ca03b 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1701,6 +1701,18 @@ struct volopt_map_entry glusterd_volopt_map[] = { .op_version = 1, .flags = VOLOPT_FLAG_CLIENT_OPT }, + { .key = "performance.qr-cache-timeout", + .voltype = "performance/quick-read", + .option = "cache-timeout", + .op_version = 1, + .flags = VOLOPT_FLAG_CLIENT_OPT + }, + { .key = "performance.cache-invalidation", + .voltype = "performance/quick-read", + .option = "cache-invalidation", + .op_version = GD_OP_VERSION_4_0_0, + .flags = VOLOPT_FLAG_CLIENT_OPT + }, { .key = "performance.flush-behind", .voltype = "performance/write-behind", .option = "flush-behind", -- cgit