From 10a2b44260f4b71d8c3cf7e6fe329b12c8b3a4fd Mon Sep 17 00:00:00 2001 From: Vitaly Fertman Date: Fri, 10 Dec 2010 15:53:44 +0300 Subject: [PATCH] b=24230 always allow to handle normal request for liblustre o=liang i=vitaly i=zam as liblustre is 1-threaded we should not prevert normal requests from being processed if only 1 thread is left --- lustre/ptlrpc/service.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index b13b82b..2768325 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -1390,6 +1390,10 @@ static int ptlrpc_server_high_pending(struct ptlrpc_service *svc, int force) */ static int ptlrpc_server_allow_normal(struct ptlrpc_service *svc, int force) { +#ifndef __KERNEL__ + if (1) /* always allow to handle normal request for liblustre */ + return 1; +#endif if (force || svc->srv_n_active_reqs < svc->srv_threads_running - 2) return 1; -- 1.8.3.1