Date: Wed, 10 Mar 2004 00:49:08 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom.h geom_dump.c geom_event.c geom_int.h geom_subr.c Message-ID: <200403100849.i2A8n8VQ088697@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2004/03/10 00:49:08 PST
FreeBSD src repository
Modified files:
sys/geom geom.h geom_dump.c geom_event.c
geom_int.h geom_subr.c
Log:
Rearrange some of the GEOM debugging tools to be more structured.
Retire g_sanity() and corresponding debugflag (0x8)
Retire g_{stall,release}_events().
Under #ifdef DIAGNOSTIC:
Make g_valid_obj() an official function and have it return an an
non-zero integer which indicates the kind of object when found.
Implement G_VALID_{CLASS,GEOM,CONSUMER,PROVIDER}() macros based
on g_valid_obj().
Sprinkle calls to these macros liberally over the infrastructure.
Always check that we do not free a live object.
Revision Changes Path
1.81 +22 -8 src/sys/geom/geom.h
1.31 +0 -1 src/sys/geom/geom_dump.c
1.49 +6 -21 src/sys/geom/geom_event.c
1.27 +1 -3 src/sys/geom/geom_int.h
1.73 +42 -57 src/sys/geom/geom_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403100849.i2A8n8VQ088697>
