Skip to content
Commit 733232f8 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: use printk ratelimiting functions



DM provided its own ratelimiting printk wrapper but given printk
advances this is no longer needed.

Also, switching DMDEBUG_LIMIT to using pr_debug_ratelimited() fixes the
reported issue where DMDEBUG_LIMIT() still caused a flood of "callbacks
suppressed" messages.

Reported-by: default avatarMilan Broz <gmazyland@gmail.com>
Depends-on: 29fc2bc7 ("printk: pr_debug_ratelimited: check state first to reduce "callbacks suppressed" messages")
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent c663e040
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment