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:
37e8b62
)
b=17323
author
yury
<yury>
Tue, 21 Oct 2008 17:21:21 +0000
(17:21 +0000)
committer
yury
<yury>
Tue, 21 Oct 2008 17:21:21 +0000
(17:21 +0000)
r=adilger,johann
- fixes log_cancel resend handling
lustre/ptlrpc/client.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/client.c
b/lustre/ptlrpc/client.c
index
2ff3d18
..
3aa63ff
100644
(file)
--- a/
lustre/ptlrpc/client.c
+++ b/
lustre/ptlrpc/client.c
@@
-1156,7
+1156,11
@@
int ptlrpc_check_set(struct ptlrpc_request_set *set)
spin_unlock(&imp->imp_lock);
req->rq_waiting = 0;
- if (req->rq_resend) {
+
+ if (req->rq_timedout||req->rq_resend) {
+ /* This is re-sending anyways,
+ * let's mark req as resend. */
+ req->rq_resend = 1;
lustre_msg_add_flags(req->rq_reqmsg,
MSG_RESENT);
if (req->rq_bulk) {