From 1ce1b33df05d281f8c08521a80055bb0fa29cead Mon Sep 17 00:00:00 2001 From: yury <yury> Date: Tue, 30 Sep 2008 13:12:41 +0000 Subject: [PATCH] - revert patch from 17110 as it's causing ost stop issues --- lustre/ptlrpc/recov_thread.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lustre/ptlrpc/recov_thread.c b/lustre/ptlrpc/recov_thread.c index e995c5c774..60e8a13087 100644 --- a/lustre/ptlrpc/recov_thread.c +++ b/lustre/ptlrpc/recov_thread.c @@ -552,6 +552,11 @@ 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); -- GitLab