cvs commit: src/sys/geom geom.h geom_dump.c geom_event.c geom_int.h geom_subr.c

Poul-Henning Kamp phk at FreeBSD.org
Wed Mar 10 00:49:09 PST 2004


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


More information about the cvs-src mailing list