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)
commit810b492375f4aed5ce222982054adc0394a4bd33
treef67808075083d82a9719af4c657100d5d6d5547b
parent34745785937a2003c144c0d4802fa637470d87af
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
This page took 0.024938 seconds and 5 git commands to generate.