From c429895e8dc006d822463c2dce728aa9b46a2c28 Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 19 Sep 2008 09:45:30 +0000 Subject: [PATCH] b=17110 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 --- lustre/ptlrpc/recov_thread.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lustre/ptlrpc/recov_thread.c b/lustre/ptlrpc/recov_thread.c index 60e8a13..e995c5c 100644 --- a/lustre/ptlrpc/recov_thread.c +++ b/lustre/ptlrpc/recov_thread.c @@ -552,11 +552,6 @@ int llog_obd_repl_cancel(struct llog_ctxt *ctxt, 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); -- 1.8.3.1