From 009f54a17c6f5c283a3a83bd85491420f1d546dc Mon Sep 17 00:00:00 2001 From: Dmitry Zogin Date: Thu, 24 Mar 2011 13:49:37 +0300 Subject: [PATCH] b=21137 Sles11 with 1.8 is slower than 1.6 sles10 for O_DIRECT single file IOR writes Fix ptlrpc_main() condition to start service threads correctly. i=adilger i=vitaly.fertman --- lustre/ptlrpc/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 0bd922f..50256bc 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -1749,7 +1749,7 @@ static int ptlrpc_main(void *arg) ptlrpc_check_rqbd_pool(svc); if ((svc->srv_threads_started < svc->srv_threads_max) && - (svc->srv_n_active_reqs >= (svc->srv_threads_started - 1))){ + (svc->srv_n_active_reqs >= (svc->srv_threads_started - 2))){ /* Ignore return code - we tried... */ ptlrpc_start_thread(dev, svc); } -- 1.8.3.1