]> git.baikalelectronics.ru Git - kernel.git/commit
dm ioctl: suppress needless warning messages
authorMilan Broz <mbroz@redhat.com>
Thu, 13 Jan 2011 19:59:55 +0000 (19:59 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 13 Jan 2011 19:59:55 +0000 (19:59 +0000)
commit29d6307217d79ca0f1dcc9b9620dcb1c6315b04a
treef67808075083d82a9719af4c657100d5d6d5547b
parent262e2ed6caf721ccab2950ae01ba277de1bd7f07
dm ioctl: suppress needless warning messages

The device-mapper should not send warning messages to syslog
if a device is not found. This can be done by userspace
according to the returned dm-ioctl error code.

So move these messages to debug level and use rate limiting
to not flood syslog.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c