From 89891a7b931071eccb8c877bcbcd05c4635076e9 Mon Sep 17 00:00:00 2001 From: yury Date: Sun, 13 Jun 2004 10:51:16 +0000 Subject: [PATCH] Added client disconnect error message. --- lustre/lmv/lmv_obd.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index cfb5787..3fe8196 100644 --- 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; -- 1.8.3.1