Date: Tue, 30 Nov 1999 18:09:31 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys mount.h src/sys/kern vfs_bio.c src/sys/miscfs/specfs spec_vnops.c Message-ID: <199912010209.SAA68538@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 1999/11/30 18:09:31 PST
Modified files:
sys/sys mount.h
sys/kern vfs_bio.c
sys/miscfs/specfs spec_vnops.c
Log:
Collect read and write counts for filesystems. This new code
drops the counting in bwrite and puts it all in spec_strategy.
I did some tests and verified that the counts collected for writes
in spec_strategy is identical to the counts that we previously
collected in bwrite. We now also get read counts (async reads
come from requests for read-ahead blocks). Note that you need
to compile a new version of mount to get the read counts printed
out. The old mount binary is completely compatible, the only
reason to install a new mount is to get the read counts printed.
Submitted by: Craig A Soules <soules+@andrew.cmu.edu>
Reviewed by: Kirk McKusick <mckusick@mckusick.com>
Revision Changes Path
1.85 +7 -2 src/sys/sys/mount.h
1.237 +1 -21 src/sys/kern/vfs_bio.c
1.129 +22 -1 src/sys/miscfs/specfs/spec_vnops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912010209.SAA68538>
