aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-05-30 18:55:23 -0700
committerJakub Kicinski <[email protected]>2023-05-31 22:34:22 -0700
commit6f4b98147b8dfcabacb19b5c6abd087af66d0049 (patch)
tree6eee95ecdacbd7e0dfb8f334f2367ad48b11f3d0 /lib/mpi/mpi-sub-ui.c
parent6f7aee27b1bb5c5aab0813af20dda172b6a6ecab (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions