]> git.baikalelectronics.ru Git - kernel.git/commit
dm: use DMDEBUG macros now that they use pr_debug variants
authorMike Snitzer <snitzer@redhat.com>
Thu, 14 May 2020 16:55:39 +0000 (12:55 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 20 May 2020 21:09:47 +0000 (17:09 -0400)
commit885253b4d5ba2bebe4a433e159a748f1b85edbba
tree18f005f7a32ba01df59bfbfd937d4246c1572cac
parente430e172e4ea6f3423149d7a573869cc15a1f1c6
dm: use DMDEBUG macros now that they use pr_debug variants

Now that DMDEBUG uses pr_debug and DMDEBUG_LIMIT uses
pr_debug_ratelimited cleanup DM's 2 direct pr_debug callers to use
them to get the benefit of consistent DM_FMT formatting of debugging
messages.

While doing so, dm-mpath.c:dm_report_EIO() was switched over to using
DMDEBUG_LIMIT due to the potential for error handling floods in the IO
completion path.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c
drivers/md/dm.c