Date: Fri, 7 Feb 2003 15:08:25 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> 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 Message-ID: <200302072308.h17N8Pft097854@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302072308.h17N8Pft097854>
