From e072febf22fafafbfbd0de47bc90ae19f523d0f4 Mon Sep 17 00:00:00 2001 From: huanghua Date: Tue, 28 Oct 2008 14:06:30 +0000 Subject: [PATCH] Branch HEAD b=17192 i=robert.read i=adilger clear the proc stats counter. This value might be used later again. --- lustre/obdclass/lprocfs_status.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index 1cf5bd2..61a2fca 100644 --- 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); } } -- 1.8.3.1