Skip to content

Commit 782312c

Browse files
authored
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
1 parent 2848de1 commit 782312c

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
@@ -607,8 +607,6 @@ zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data)
607607
*/
608608
if (nvlist_lookup_string(nvl, dp->dd_prop, &path) != 0 ||
609609
strcmp(dp->dd_compare, path) != 0) {
610-
zed_log_msg(LOG_INFO, " %s: no match (%s != vdev %s)",
611-
__func__, dp->dd_compare, path);
612610
return;
613611
}
614612
if (dp->dd_new_vdev_guid != 0 && dp->dd_new_vdev_guid != guid) {

0 commit comments

Comments
 (0)