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)
commitac75b09fc62df441eee90fecfe9b2a6ca24976f2
tree18f005f7a32ba01df59bfbfd937d4246c1572cac
parent49de3b7d21ef12e03358aa77ad6bff4aaf5ac3f5
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