From owner-cvs-all Fri Feb 7 15: 8:30 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 963AA37B401; Fri, 7 Feb 2003 15:08:25 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69ED243FAF; Fri, 7 Feb 2003 15:08:25 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h17N8Pbv097855; Fri, 7 Feb 2003 15:08:25 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h17N8Pft097854; Fri, 7 Feb 2003 15:08:25 -0800 (PST) Message-Id: <200302072308.h17N8Pft097854@repoman.freebsd.org> From: Poul-Henning Kamp Date: Fri, 7 Feb 2003 15:08:25 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, legacy-committers@FreeBSD.org Subject: cvs commit: src/sys/sys bio.h src/sys/geom geom.h geom_dev.c geom_dump.c geom_int.h geom_io.c geom_kern.c geom_subr.c notes X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2003/02/07 15:08:25 PST Modified files: sys/sys bio.h sys/geom geom.h geom_dev.c geom_dump.c geom_int.h geom_io.c geom_kern.c geom_subr.c Added files: sys/geom notes Log: Commit the correct copy of the g_stat structure. Add debug.sizeof.g_stat sysctl. Set the id field of the g_stat when we create consumers and providers. Remove biocount from consumer, we will use the counters in the g_stat structure instead. Replace one field which will need to be atomically manipulated with two fields which will not (stat.nop and stat.nend). Change add companion field to bio_children: bio_inbed for the exact same reason. Don't output the biocount in the confdot output. Fix KASSERT in g_io_request(). Add sysctl kern.geom.collectstats defaulting to off. Collect the following raw statistics conditioned on this sysctl: for each consumer and provider { total number of operations started. total number of operations completed. time last operation completed. sum of idle-time. for each of BIO_READ, BIO_WRITE and BIO_DELETE { number of operations completed. number of bytes completed. number of ENOMEM errors. number of other errors. sum of transaction time. } } API for getting hold of these statistics data not included yet. Revision Changes Path 1.42 +3 -7 src/sys/geom/geom.h 1.41 +1 -1 src/sys/geom/geom_dev.c 1.21 +2 -2 src/sys/geom/geom_dump.c 1.8 +1 -0 src/sys/geom/geom_int.h 1.25 +80 -23 src/sys/geom/geom_io.c 1.19 +6 -0 src/sys/geom/geom_kern.c 1.28 +5 -3 src/sys/geom/geom_subr.c 1.1 +40 -0 src/sys/geom/notes (new) 1.126 +1 -0 src/sys/sys/bio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message