UBUNTU: SAUCE: (no-up) elide some ioctl warnings which are known benign
authorAndy Whitcroft <apw@canonical.com>
Tue, 3 Apr 2012 10:42:41 +0000 (11:42 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Tue, 3 Apr 2012 12:01:29 +0000 (06:01 -0600)
commit7ac3658e81a633a5d652a96464530499e88870cf
treef6e27c367be7c24c0b62d832141474ac6860571e
parentc2417e86373f9319fdee19093f83e26677b402f1
UBUNTU: SAUCE: (no-up) elide some ioctl warnings which are known benign

BugLink: http://bugs.launchpad.net/bugs/972355

We have been seeing increasing reports of scarey ioctl messages in
dmesg, such as the below often in bulk:

    mdadm: sending ioctl 1261 to a partition!
    mdadm: sending ioctl 800c0910 to a partition!

Looking at the upstream discussions these are all benign and can be safely
suppressed.  This patch is based on some discussions at the link below,
on some work SUSE did in this area.  This is not suitable for upstreaming
as we need some refactoring to fix the 32bit compat ioctl mess.

Link: http://www.spinics.net/lists/raid/msg37770.html
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
block/scsi_ioctl.c