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:
f2ad780
)
correctly skip time estimate if in recovery
author
shadow
<shadow>
Tue, 28 Apr 2009 04:27:08 +0000
(
04:27
+0000)
committer
shadow
<shadow>
Tue, 28 Apr 2009 04:27:08 +0000
(
04:27
+0000)
Branch HEAD
b=19223
i=johann
i=nathan
lustre/ptlrpc/client.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/client.c
b/lustre/ptlrpc/client.c
index
3c99c64
..
55063a7
100644
(file)
--- a/
lustre/ptlrpc/client.c
+++ b/
lustre/ptlrpc/client.c
@@
-225,7
+225,8
@@
static void ptlrpc_at_adj_service(struct ptlrpc_request *req,
struct imp_at *at;
/* do estimate only if is not in recovery */
- if (!(req->rq_send_state & (LUSTRE_IMP_FULL | LUSTRE_IMP_CONNECTING)))
+ if ((req->rq_send_state != LUSTRE_IMP_FULL) &&
+ (req->rq_send_state != LUSTRE_IMP_CONNECTING))
return;
LASSERT(req->rq_import);