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:
eba596e
)
- ptlrpc_request_handle_notconn() shouldn't reconnect if recovery on
author
alex
<alex>
Wed, 18 May 2005 20:41:05 +0000
(20:41 +0000)
committer
alex
<alex>
Wed, 18 May 2005 20:41:05 +0000
(20:41 +0000)
import is disabled adminitratively
lustre/ptlrpc/recover.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/recover.c
b/lustre/ptlrpc/recover.c
index
6faea9b
..
e51e346
100644
(file)
--- a/
lustre/ptlrpc/recover.c
+++ b/
lustre/ptlrpc/recover.c
@@
-287,7
+287,9
@@
void ptlrpc_request_handle_notconn(struct ptlrpc_request *failed_req)
ptlrpc_deactivate_import(imp);
}
- rc = ptlrpc_connect_import(imp, NULL);
+ /* to control recovery via lctl {disable|enable}_recovery */
+ if (imp->imp_deactive == 0)
+ rc = ptlrpc_connect_import(imp, NULL);
}
/* Wait for recovery to complete and resend. If evicted, then