r=shadow,wangdi
- fixes wrong checking for obd_stopping in recov_thread which prevents recov_thread from sending llcds to
mds in disconnect time because obd_stopping is set before filter_disconnect() is called.
This causes issues like this:
LustreError: 6912:0:(filter.c:2446:filter_disconnect()) error flushing logs to MDS: rc -19
GOTO(out, rc = -ENODEV);
}
- if (ctxt->loc_obd->obd_stopping) {
- CDEBUG(D_RPCTRACE, "Obd is stopping for ctxt %p\n", ctxt);
- GOTO(out, rc = -ENODEV);
- }
-
if (test_bit(LLOG_LCM_FL_EXIT, &lcm->lcm_flags)) {
CDEBUG(D_RPCTRACE, "Commit thread is stopping for ctxt %p\n",
ctxt);