Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0bb5de
)
- revert patch from 17110 as it's causing ost stop issues
author
yury
<yury>
Tue, 30 Sep 2008 13:12:41 +0000
(13:12 +0000)
committer
yury
<yury>
Tue, 30 Sep 2008 13:12:41 +0000
(13:12 +0000)
lustre/ptlrpc/recov_thread.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/recov_thread.c
b/lustre/ptlrpc/recov_thread.c
index
e995c5c
..
60e8a13
100644
(file)
--- 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);