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:
9c6ad5a
)
b=20591 fix race on obd_device::md_stats
author
LiuYing
<Emoly.Liu@Sun.COM>
Tue, 5 Jan 2010 00:42:18 +0000
(08:42 +0800)
committer
Robert Read
<rread@sun.com>
Tue, 5 Jan 2010 19:16:02 +0000
(11:16 -0800)
call lprocfs_free_per_client_stats() before mdt_procfs_fini() frees
all the lprocfs data
i=liuying
i=wangdi
o=vitaly
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
6945820
..
cf7decb
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-4379,9
+4379,9
@@
static void mdt_fini(const struct lu_env *env, struct mdt_device *m)
*/
mdt_stack_fini(env, m, md2lu_dev(m->mdt_child));
*/
mdt_stack_fini(env, m, md2lu_dev(m->mdt_child));
- mdt_procfs_fini(m);
lprocfs_free_per_client_stats(obd);
lprocfs_free_obd_stats(obd);
lprocfs_free_per_client_stats(obd);
lprocfs_free_obd_stats(obd);
+ mdt_procfs_fini(m);
if (ls) {
struct md_site *mite;
if (ls) {
struct md_site *mite;