From 5f8b0a1f88532dd1ad85a15e3c5c5625ff9ed983 Mon Sep 17 00:00:00 2001 From: Johann Lombardi Date: Fri, 22 Jan 2010 22:16:02 +0100 Subject: [PATCH] b=21448 send recovery rpc ASAP i=robert.read i=tappro --- lustre/ptlrpc/ptlrpcd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lustre/ptlrpc/ptlrpcd.c b/lustre/ptlrpc/ptlrpcd.c index dde226c..0bcc528 100644 --- a/lustre/ptlrpc/ptlrpcd.c +++ b/lustre/ptlrpc/ptlrpcd.c @@ -117,7 +117,13 @@ int ptlrpcd_add_req(struct ptlrpc_request *req) ptlrpc_req_interpret(req, -EBADR); req->rq_set = NULL; ptlrpc_req_finished(req); + } else if (req->rq_send_state == LUSTRE_IMP_CONNECTING) { + /* + * The request is for recovery, should be sent ASAP. + */ + cfs_waitq_signal(&pc->pc_set->set_waitq); } + return rc; } -- 1.8.3.1