From 68bc118b4942c4a8ba82ffff89774b7855650daa Mon Sep 17 00:00:00 2001 From: Dmitry Zogin Date: Tue, 21 Sep 2010 19:30:35 +0400 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=vitaly.fertman i=andreas.dilger --- 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 afd1da4..b897107 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -2158,7 +2158,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