diff options
author | Matthew Ahrens <[email protected]> | 2017-01-03 15:18:33 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-04-30 10:19:48 -0700 |
commit | 964c2d69a90c503f44946f31c5d4a8ac4458176d (patch) | |
tree | ea740d870b10b7e6cb9f8d76d527d3b99a2488ee /module/zfs/zio.c | |
parent | 089500e79234c9cb741090ade96baec266f0ace4 (diff) |
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 <[email protected]>
Reviewed by: Serapheim Dimitropoulos <[email protected]>
Reviewed by: Pavel Zakharov <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Approved by: Richard Lowe <[email protected]>
Ported-by: Giuseppe Di Natale <[email protected]>
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
Diffstat (limited to 'module/zfs/zio.c')
-rw-r--r-- | module/zfs/zio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 9bb2459bb..b585368be 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -3295,7 +3295,7 @@ zio_dva_allocate(zio_t *zio) &zio->io_alloc_list, zio); if (error != 0) { - spa_dbgmsg(spa, "%s: metaslab allocation failure: zio %p, " + zfs_dbgmsg("%s: metaslab allocation failure: zio %p, " "size %llu, error %d", spa_name(spa), zio, zio->io_size, error); if (error == ENOSPC && zio->io_size > SPA_MINBLOCKSIZE) |