From ba43dbdf04422f39b113de272227b6ed862acdd9 Mon Sep 17 00:00:00 2001 From: Keith Mannthey Date: Tue, 20 Aug 2013 21:32:28 -0700 Subject: [PATCH] LU-3698 ptlrpc: skip rpcs that fail ptl_send_rpc ptl_send_rpc is not dealing with -ENOMEM in some situations. When the ptl_send_rpc fails we need set error and skip further processing or trigger and LBUG Original patch from Peng Tao. Signed-off-by: Keith Mannthey Change-Id: Ib90cb7841cd0866bcf08f6dcd702d65804992e1d Reviewed-on: http://review.whamcloud.com/7411 Tested-by: Hudson Reviewed-by: Jinshan Xiong Tested-by: Maloo Reviewed-by: Mike Pershin Reviewed-by: Oleg Drokin --- lustre/ptlrpc/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 7ab33c7..7889620 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -1737,6 +1737,7 @@ int ptlrpc_check_set(const struct lu_env *env, struct ptlrpc_request_set *set) spin_lock(&req->rq_lock); req->rq_net_err = 1; spin_unlock(&req->rq_lock); + continue; } /* need to reset the timeout */ force_timer_recalc = 1; -- 1.8.3.1