From b77c8ddda8e68c1086227b19f9fb5db9bf89b0dc Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Thu, 4 Jun 2015 11:25:35 +0530 Subject: Upcall/cache-invalidation: Ignore fops with frame->root->client not set Server-side internally generated fops like 'quota/marker' will not have any client associated with the frame. Hence we need a check for clients to be valid before processing for upcall cache invalidation. Also fixed an issue with initializing reaper-thread. Added a testcase to test the fix. Change-Id: If7419b98aca383f4b80711c10fef2e0b32498c57 BUG: 1227204 Signed-off-by: Soumya Koduri Reviewed-on: http://review.gluster.org/10909 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: jiffin tony Thottan Tested-by: NetBSD Build System Reviewed-by: Niels de Vos --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mgmt/glusterd/src') diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 3e49fab37d4..ed78be9ba6a 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1858,7 +1858,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { /* Upcall translator options */ { .key = "features.cache-invalidation", .voltype = "features/upcall", - .value = "off", + .value = "off", .op_version = GD_OP_VERSION_3_7_0, }, { .key = "features.cache-invalidation-timeout", -- cgit