]> granicus.if.org Git - zfs/commit
OpenZFS 9236 - nuke spa_dbgmsg
authorMatthew Ahrens <mahrens@delphix.com>
Tue, 3 Jan 2017 23:18:33 +0000 (15:18 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 30 Apr 2018 17:19:48 +0000 (10:19 -0700)
commit964c2d69a90c503f44946f31c5d4a8ac4458176d
treeea740d870b10b7e6cb9f8d76d527d3b99a2488ee
parent089500e79234c9cb741090ade96baec266f0ace4
OpenZFS 9236 - nuke spa_dbgmsg

We should use zfs_dbgmsg instead of spa_dbgmsg. Or at least,
metaslab_condense() should call zfs_dbgmsg because it's important and
rare enough to always log. It's possible that the message in
zio_dva_allocate() would be too high-frequency for zfs_dbgmsg.

Authored by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Richard Lowe <richlowe@richlowe.net>
Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Patch Notes:
* Removed ZFS_DEBUG_SPA from zfs-module-parameters.5

OpenZFS-issue: https://www.illumos.org/issues/9236
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/cfaba7f668
Closes #7467
cmd/ztest/ztest.c
include/sys/spa.h
include/sys/spa_impl.h
include/sys/zfs_debug.h
man/man5/zfs-module-parameters.5
module/zfs/metaslab.c
module/zfs/spa_misc.c
module/zfs/zio.c