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
(from parent 1:
d36f2a1
)
Added client disconnect error message.
author
yury
<yury>
Sun, 13 Jun 2004 10:51:16 +0000
(10:51 +0000)
committer
yury
<yury>
Sun, 13 Jun 2004 10:51:16 +0000
(10:51 +0000)
lustre/lmv/lmv_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
cfb5787
..
3fe8196
100644
(file)
--- a/
lustre/lmv/lmv_obd.c
+++ b/
lustre/lmv/lmv_obd.c
@@
-354,6
+354,13
@@
static int lmv_disconnect(struct obd_export *exp, int flags)
obd_register_observer(lmv->tgts[i].ltd_exp->exp_obd, NULL);
rc = obd_disconnect(lmv->tgts[i].ltd_exp, flags);
+ if (rc) {
+ if (lmv->tgts[i].active) {
+ CERROR("Target %s disconnect error %d\n",
+ lmv->tgts[i].uuid.uuid, rc);
+ }
+ rc = 0;
+ }
if (lmv->tgts[i].active) {
lmv->desc.ld_active_tgt_count--;
lmv->tgts[i].active = 0;