a3470f
From 0336d2fa2e8ee0b80c5d5891883c2551f6dbe4db Mon Sep 17 00:00:00 2001
a3470f
From: Raghavendra G <rgowdapp@redhat.com>
a3470f
Date: Thu, 17 May 2018 11:20:36 +0530
a3470f
Subject: [PATCH 273/274] rpcsvc: Turn off ownthreads for Glusterfs program
a3470f
a3470f
With introduction of request-handler-threads and queue to hold
a3470f
requests we are seeing performance regression. Hence revert the
a3470f
functionality of,
a3470f
a3470f
commit 2e72b24707f1886833db0b09e48b3f48b8d68d37
a3470f
Author: Raghavendra G <rgowdapp@redhat.com>
a3470f
Date:   Tue Apr 25 10:43:07 2017 +0530
a3470f
a3470f
    program/GF-DUMP: Shield ping processing from traffic to Glusterfs
a3470f
    Program
a3470f
a3470f
by setting ownthread=false
a3470f
a3470f
Change-Id: Ic500ff593aecf8062b2929d5518523363dfbab4f
a3470f
BUG: 1558989
a3470f
Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
a3470f
Reviewed-on: https://code.engineering.redhat.com/gerrit/139002
a3470f
Tested-by: RHGS Build Bot <nigelb@redhat.com>
a3470f
Reviewed-by: Amar Tumballi <amarts@redhat.com>
a3470f
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
a3470f
---
a3470f
 xlators/protocol/server/src/server-rpc-fops.c | 2 +-
a3470f
 1 file changed, 1 insertion(+), 1 deletion(-)
a3470f
a3470f
diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c
a3470f
index 91d5c03..ba6cc1f 100644
a3470f
--- a/xlators/protocol/server/src/server-rpc-fops.c
a3470f
+++ b/xlators/protocol/server/src/server-rpc-fops.c
a3470f
@@ -6160,5 +6160,5 @@ struct rpcsvc_program glusterfs3_3_fop_prog = {
a3470f
         .progver   = GLUSTER_FOP_VERSION,
a3470f
         .numactors = GLUSTER_FOP_PROCCNT,
a3470f
         .actors    = glusterfs3_3_fop_actors,
a3470f
-        .ownthread = _gf_true,
a3470f
+        .ownthread = _gf_false,
a3470f
 };
a3470f
-- 
a3470f
1.8.3.1
a3470f