Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Split import reconnection and replay (OSC only needs to reconnect).
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
connection.c
diff --git
a/lustre/ptlrpc/connection.c
b/lustre/ptlrpc/connection.c
index
a5528fd
..
df2a2c2
100644
(file)
--- a/
lustre/ptlrpc/connection.c
+++ b/
lustre/ptlrpc/connection.c
@@
-121,6
+121,7
@@
int ptlrpc_put_connection(struct ptlrpc_connection *c)
CDEBUG(D_INFO, "connection=%p refcount %d\n",
c, atomic_read(&c->c_refcount) - 1);
if (atomic_dec_and_test(&c->c_refcount)) {
+ recovd_conn_unmanage(c);
spin_lock(&conn_lock);
list_del(&c->c_link);
list_add(&c->c_link, &conn_unused_list);