From owner-cvs-all Tue Nov 30 18: 9:38 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2279E14F87; Tue, 30 Nov 1999 18:09:31 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA68538; Tue, 30 Nov 1999 18:09:31 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Message-Id: <199912010209.SAA68538@freefall.freebsd.org> From: Kirk McKusick Date: Tue, 30 Nov 1999 18:09:31 -0800 (PST) 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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 Reviewed by: Kirk McKusick 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