mirror_zfs/lib
Brian Behlendorf d7e398ce1a Cleanup ZFS debug infrastructure
Historically the internal zfs debug infrastructure has been
scattered throughout the code.  Since we expect to start making
more use of this code this patch performs some cleanup.

* Consolidate the zfs debug infrastructure in the zfs_debug.[ch]
  files.  This includes moving the zfs_flags and zfs_recover
  variables, plus moving the zfs_panic_recover() function.

* Remove the existing unused functionality in zfs_debug.c and
  replace it with code which correctly utilized the spl logging
  infrastructure.

* Remove the __dprintf() function from zfs_ioctl.c.  This is
  dead code, the dprintf() functionality in the kernel relies
  on the spl log support.

* Remove dprintf() from hdr_recl().  This wasn't particularly
  useful and was missing the required format specifier anyway.

* Subsequent patches should unify the dprintf() and zfs_dbgmsg()
  functions.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2012-02-02 11:24:30 -08:00
..
libavl Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00
libefi Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00
libnvpair Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00
libshare Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00
libspl Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00
libunicode Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00
libuutil Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00
libzfs Ignore dataset if the dds_type is DMU_OST_OTHER 2012-01-19 09:29:48 -08:00
libzpool Cleanup ZFS debug infrastructure 2012-02-02 11:24:30 -08:00
Makefile.am Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00
Makefile.in Combine libraries: spl, avl, efi, share, unicode. 2012-01-17 15:19:50 -08:00