summaryrefslogtreecommitdiff
path: root/drivers/pps
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-05-31 04:55:23 +0300
committerJakub Kicinski <kuba@kernel.org>2023-06-01 08:34:22 +0300
commit6f4b98147b8dfcabacb19b5c6abd087af66d0049 (patch)
tree6eee95ecdacbd7e0dfb8f334f2367ad48b11f3d0 /drivers/pps
parent6f7aee27b1bb5c5aab0813af20dda172b6a6ecab (diff)
downloadlinux-6f4b98147b8dfcabacb19b5c6abd087af66d0049.tar.xz
devlink: make health report on unregistered instance warn just once
Devlink health is involved in error recovery. Machines in bad state tend to be fairly unreliable, and occasionally get stuck in error loops. Even with a reasonable grace period devlink health may get a thousand reports in an hour. In case of reporting on an unregistered devlink instance the subsequent reports don't add much value. Switch to WARN_ON_ONCE() to avoid flooding dmesg and fleet monitoring dashboards. Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20230531015523.48961-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions