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:
4dccd8e
)
Branch:b_new_cmd
author
wangdi
<wangdi>
Wed, 15 Nov 2006 11:16:00 +0000
(11:16 +0000)
committer
wangdi
<wangdi>
Wed, 15 Nov 2006 11:16:00 +0000
(11:16 +0000)
obd_recoverying should be set to 0 before obd_notify in mdd_recovery_complete.
otherwise llog may not be initialized correctly in recovery.
b:11217
lustre/mdd/mdd_device.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_device.c
b/lustre/mdd/mdd_device.c
index
06f9f79
..
46f4ce2
100644
(file)
--- a/
lustre/mdd/mdd_device.c
+++ b/
lustre/mdd/mdd_device.c
@@
-198,12
+198,12
@@
static int mdd_recovery_complete(const struct lu_env *env,
RETURN(rc);
}
#endif
+ obd->obd_recovering = 0;
obd_notify(obd->u.mds.mds_osc_obd, NULL,
(obd->obd_async_recov ?
OBD_NOTIFY_SYNC_NONBLOCK :
OBD_NOTIFY_SYNC), NULL);
- obd->obd_recovering = 0;
obd->obd_type->typ_dt_ops->o_postrecov(obd);
/* XXX: orphans handling. */