From f3572cf4d31b5f01591e5bb0feb29424e1817d06 Mon Sep 17 00:00:00 2001 From: Eric Mei Date: Mon, 22 Nov 2010 08:47:59 -0700 Subject: [PATCH 1/1] b=23994 hide EMFILE error in ptlrpc_start_threads(). i=vitaly.fertman --- lustre/ptlrpc/service.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 299398d..79e0e37 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -2462,8 +2462,10 @@ int ptlrpc_start_threads(struct ptlrpc_service *svc) for (i = 0; i < svc->srv_threads_min; i++) { rc = ptlrpc_start_thread(svc); /* We have enough threads, don't start more. b=15759 */ - if (rc == -EMFILE) + if (rc == -EMFILE) { + rc = 0; break; + } if (rc) { CERROR("cannot start %s thread #%d: rc %d\n", svc->srv_thread_name, i, rc); -- 1.8.3.1