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:
f909064
)
Branch HEAD
author
huanghua
<huanghua>
Tue, 28 Oct 2008 14:06:30 +0000
(14:06 +0000)
committer
huanghua
<huanghua>
Tue, 28 Oct 2008 14:06:30 +0000
(14:06 +0000)
b=17192
i=robert.read
i=adilger
clear the proc stats counter. This value might be used later again.
lustre/obdclass/lprocfs_status.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/lprocfs_status.c
b/lustre/obdclass/lprocfs_status.c
index
1cf5bd2
..
61a2fca
100644
(file)
--- a/
lustre/obdclass/lprocfs_status.c
+++ b/
lustre/obdclass/lprocfs_status.c
@@
-1417,6
+1417,7
@@
void lprocfs_free_md_stats(struct obd_device *obd)
if (stats != NULL) {
obd->md_stats = NULL;
+ obd->md_cntr_base = 0;
lprocfs_free_stats(&stats);
}
}