Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d83c886
)
b=21448 send recovery rpc ASAP
author
Johann Lombardi
<johann@sun.com>
Fri, 22 Jan 2010 21:16:02 +0000
(22:16 +0100)
committer
Johann Lombardi
<johann@sun.com>
Fri, 22 Jan 2010 21:16:02 +0000
(22:16 +0100)
i=robert.read
i=tappro
lustre/ptlrpc/ptlrpcd.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/ptlrpcd.c
b/lustre/ptlrpc/ptlrpcd.c
index
dde226c
..
0bcc528
100644
(file)
--- 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;
}