]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r336956: MFV r336955: 9236 nuke spa_dbgmsg
authormav <mav@FreeBSD.org>
Wed, 3 Oct 2018 02:13:04 +0000 (02:13 +0000)
committermav <mav@FreeBSD.org>
Wed, 3 Oct 2018 02:13:04 +0000 (02:13 +0000)
commit874912486c2df74c0f533df8ed91d4b7c02cb8f1
treedafa96c0d483561e14a78da75f89a182f50d2cc2
parent1a9ac2c1fb88c55a97e9a0cba4f6557180b955c1
MFC r336956: MFV r336955: 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.

illumos/illumos-gate@21f7c81cc1156e9202ce3412d3ecaa697c3b2222

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>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Matthew Ahrens <mahrens@delphix.com>
cddl/contrib/opensolaris/cmd/ztest/ztest.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa_impl.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c