From 128352dc778e2a68cc04d7032562285d1dab8262 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 18 Jul 2004 05:41:57 +0000 Subject: [PATCH] - if MDS aborts recovery it disconnects all the exports and lmv_disconnect() 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 3d04d42..9ed4375 100644 --- 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; -- 1.8.3.1