Skip to content

Commit 4638eb2

Browse files
behlendorfdefaziogiancarlo
authored andcommitted
zed: Reduce log noise for large JBODs
For large JBODs the log message "zfs_iter_vdev: no match" can account for the bulk of the log messages (over 70%). Since this message is purely informational and not that useful we remove it. Reviewed-by: Olaf Faaland <[email protected]> Reviewed-by: Brian Atkinson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#15086 Closes openzfs#15094 Signed-off-by: Gian-Carlo DeFazio <[email protected]> (cherry picked from commit 782312c)
1 parent f6eb34f commit 4638eb2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/zed/agents/zfs_mod.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,6 @@ zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data)
597597
*/
598598
if (nvlist_lookup_string(nvl, dp->dd_prop, &path) != 0 ||
599599
strcmp(dp->dd_compare, path) != 0) {
600-
zed_log_msg(LOG_INFO, " %s: no match (%s != vdev %s)",
601-
__func__, dp->dd_compare, path);
602600
return;
603601
}
604602
if (dp->dd_new_vdev_guid != 0 && dp->dd_new_vdev_guid != guid) {

0 commit comments

Comments
 (0)