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:
009f78a
)
Branch:b_new_cmd
author
wangdi
<wangdi>
Mon, 4 Dec 2006 08:30:03 +0000
(08:30 +0000)
committer
wangdi
<wangdi>
Mon, 4 Dec 2006 08:30:03 +0000
(08:30 +0000)
txn_stop_cb should be clear after recovery thread stop
lustre/mdt/mdt_recovery.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_recovery.c
b/lustre/mdt/mdt_recovery.c
index
8935545
..
dfb7c12
100644
(file)
--- a/
lustre/mdt/mdt_recovery.c
+++ b/
lustre/mdt/mdt_recovery.c
@@
-976,12
+976,12
@@
void mdt_fs_cleanup(const struct lu_env *env, struct mdt_device *mdt)
{
struct obd_device *obd = mdt->mdt_md_dev.md_lu_dev.ld_obd;
- /* Remove transaction callback */
- dt_txn_callback_del(mdt->mdt_bottom, &mdt->mdt_txn_cb);
-
class_disconnect_exports(obd); /* cleans up client info too */
target_stop_recovery_thread(obd);
target_cleanup_recovery(obd);
+
+ /* Remove transaction callback */
+ dt_txn_callback_del(mdt->mdt_bottom, &mdt->mdt_txn_cb);
if (mdt->mdt_last_rcvd)
lu_object_put(env, &mdt->mdt_last_rcvd->do_lu);
mdt->mdt_last_rcvd = NULL;