diff options
author | Mike Snitzer <snitzer@redhat.com> | 2019-07-17 18:57:06 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-07-17 19:09:32 +0200 |
commit | 733232f8c852bcc2ad6fc1db7f4c43eb01c7c217 (patch) | |
tree | 712122bb8f1bf479ca5ddee13201e013b190132a /drivers/md | |
parent | dm kcopyd: Increase default sub-job size to 512KB (diff) | |
download | linux-733232f8c852bcc2ad6fc1db7f4c43eb01c7c217.tar.xz linux-733232f8c852bcc2ad6fc1db7f4c43eb01c7c217.zip |
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: Milan Broz <gmazyland@gmail.com>
Depends-on: 29fc2bc7539386 ("printk: pr_debug_ratelimited: check state first to reduce "callbacks suppressed" messages")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions