Skip to content
Snippets Groups Projects
Commit 128352dc authored by alex's avatar alex
Browse files

- 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
parent 9641c7f5
No related merge requests found
...@@ -335,6 +335,8 @@ static int lmv_disconnect(struct obd_export *exp, int flags) ...@@ -335,6 +335,8 @@ static int lmv_disconnect(struct obd_export *exp, int flags)
if (lmv->refcount != 0) if (lmv->refcount != 0)
goto out_local; goto out_local;
lmv->connected = 0;
for (i = 0; i < lmv->desc.ld_tgt_count; i++) { for (i = 0; i < lmv->desc.ld_tgt_count; i++) {
if (lmv->tgts[i].ltd_exp == NULL) if (lmv->tgts[i].ltd_exp == NULL)
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment