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:
4d21e22
)
b=21938 use correct waitq
author
Johann Lombardi
<johann@sun.com>
Fri, 28 May 2010 07:44:47 +0000
(09:44 +0200)
committer
Johann Lombardi
<johann@sun.com>
Fri, 28 May 2010 07:44:47 +0000
(09:44 +0200)
Fix nit in the original patch.
lustre/ptlrpc/ptlrpcd.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/ptlrpcd.c
b/lustre/ptlrpc/ptlrpcd.c
index
f771b1e
..
0a1177f
100644
(file)
--- a/
lustre/ptlrpc/ptlrpcd.c
+++ b/
lustre/ptlrpc/ptlrpcd.c
@@
-107,10
+107,10
@@
int ptlrpcd_add_req(struct ptlrpc_request *req)
req->rq_invalid_rqset = 0;
spin_unlock(&req->rq_lock);
-
+
timeout = cfs_time_seconds(5);
lwi = LWI_TIMEOUT(timeout, back_to_sleep, NULL);
- l_wait_event(req->rq_
reply
_waitq, (req->rq_set == NULL), &lwi);
+ l_wait_event(req->rq_
set
_waitq, (req->rq_set == NULL), &lwi);
} else if (req->rq_set) {
LASSERT(req->rq_phase == RQ_PHASE_NEW);
LASSERT(req->rq_send_state == LUSTRE_IMP_REPLAY);