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:
9641c7f
)
- if MDS aborts recovery it disconnects all the exports and lmv_disconnect()
author
alex
<alex>
Sun, 18 Jul 2004 05:41:57 +0000
(
05:41
+0000)
committer
alex
<alex>
Sun, 18 Jul 2004 05:41:57 +0000
(
05:41
+0000)
is called. the last one didn't drop lmv->connected to 0 and this prevent
subsequent lmv_connect() to work properly
lustre/lmv/lmv_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
3d04d42
..
9ed4375
100644
(file)
--- a/
lustre/lmv/lmv_obd.c
+++ b/
lustre/lmv/lmv_obd.c
@@
-335,6
+335,8
@@
static int lmv_disconnect(struct obd_export *exp, int flags)
if (lmv->refcount != 0)
goto out_local;
+ lmv->connected = 0;
+
for (i = 0; i < lmv->desc.ld_tgt_count; i++) {
if (lmv->tgts[i].ltd_exp == NULL)
continue;