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:
8238c3d
)
MDS-side OSCs always ping their OSTs for prompt failure detection.
author
shaver
<shaver>
Wed, 19 Nov 2003 18:53:50 +0000
(18:53 +0000)
committer
shaver
<shaver>
Wed, 19 Nov 2003 18:53:50 +0000
(18:53 +0000)
lustre/ldlm/ldlm_lib.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lib.c
b/lustre/ldlm/ldlm_lib.c
index
c642525
..
6a4b028
100644
(file)
--- a/
lustre/ldlm/ldlm_lib.c
+++ b/
lustre/ldlm/ldlm_lib.c
@@
-307,8
+307,10
@@
int client_disconnect_export(struct obd_export *exp, int failover)
if (cli->cl_conn_count)
GOTO(out_no_disconnect, rc = 0);
- if (imp->imp_replayable)
- ptlrpc_pinger_del_import(imp);
+ /* Some non-replayable imports (MDS's OSCs) are pinged, so just
+ * delete it regardless. (It's safe to delete an import that was
+ * never added.) */
+ (void)ptlrpc_pinger_del_import(imp);
if (obd->obd_namespace != NULL) {
/* obd_no_recov == local only */