diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2002-03-24 10:56:11 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2002-03-24 10:56:11 +0000 |
commit | f4af24d55dc7bc9a7493fff34f999a410282c78e (patch) | |
tree | 9e3d1f9ce54e63587400ab68abd79f9ae5d599d8 /sys/geom/geom_sunlabel.c | |
parent | 9156494211ebb5f7e4839791d91fc008554533a7 (diff) | |
download | src-f4af24d55dc7bc9a7493fff34f999a410282c78e.tar.gz src-f4af24d55dc7bc9a7493fff34f999a410282c78e.zip |
Reset the cachefree statistics after draining the cache. This fixes a bug
where a sysctl within 20 seconds of a cache_drain could yield negative "USED"
counts.
Also, grab the uma_mtx while in the sysctl handler. This hadn't caused
problems yet because Giant is held all the time.
Reported by: kkenn
Notes
Notes:
svn path=/head/; revision=93089
Diffstat (limited to 'sys/geom/geom_sunlabel.c')
0 files changed, 0 insertions, 0 deletions