From f22a4bbbcefea60fd0375db16b2ad9d51417cdfd Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 25 Jul 2023 13:55:29 -0700 Subject: [PATCH] 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 Reviewed-by: Brian Atkinson Signed-off-by: Brian Behlendorf Closes #15086 Closes #15094 --- cmd/zed/agents/zfs_mod.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/zed/agents/zfs_mod.c b/cmd/zed/agents/zfs_mod.c index f67fd96af045..8dd75e0bb4da 100644 --- a/cmd/zed/agents/zfs_mod.c +++ b/cmd/zed/agents/zfs_mod.c @@ -597,8 +597,6 @@ zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data) */ if (nvlist_lookup_string(nvl, dp->dd_prop, &path) != 0 || strcmp(dp->dd_compare, path) != 0) { - zed_log_msg(LOG_INFO, " %s: no match (%s != vdev %s)", - __func__, dp->dd_compare, path); return; } if (dp->dd_new_vdev_guid != 0 && dp->dd_new_vdev_guid != guid) {