Commit Graph

8 Commits

Author SHA1 Message Date
Aron Xu
cae5b34040 New upstream version 0.7.2 2017-10-06 21:03:18 +08:00
Aron Xu
e10b080844 Imported Upstream version 0.6.5.3 2015-11-01 12:49:59 +08:00
Aron Xu
ea04106bca Imported Upstream version 0.6.4.2 2015-08-13 20:04:48 +08:00
Liang Guo
a08ee8756d Imported Upstream version 0.6.2+git20140204 2014-02-09 00:25:11 +08:00
Aron Xu
c06d4368ee Imported Upstream version 0.6.2 2013-08-24 14:37:28 +08:00
Brian Behlendorf
a31acb462d Use spl_debug_* helpers
When configuring the spl debug log support use the provided wrapper
functions.  This ensures that if --disable-debug-log was used when
buiding the spl the functions will have no effect.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2012-02-09 16:37:48 -08:00
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
Brian Behlendorf
428870ff73 Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00