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.
Updated by Electric Monk about 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 21f7c81cc1156e9202ce3412d3ecaa697c3b2222 Author: Matthew Ahrens <firstname.lastname@example.org> Date: 2018-04-20T02:49:42.000Z 9236 nuke spa_dbgmsg Reviewed by: Serapheim Dimitropoulos <email@example.com> Reviewed by: Pavel Zakharov <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Approved by: Richard Lowe <firstname.lastname@example.org>