2013-06-07 13:16:47

by Bryn M. Reeves

[permalink] [raw]
Subject: [PATCH][RESEND] Silence noisy per-device cciss messages

Currently cciss logs a message each time cciss_read_capacity_16 is called:

kernel: cciss 0000:03:00.0: blocks= 5274326576 block_size= 512

This generates considerable log noise. An identical message was deleted
from cciss_read_capacity in 2009.

This patch mirrors the change made to cciss_read_capacity in commit
983333c. Emitting device and block size information at KERN_INFO on
each read_capacity() leads to a lot of log noise.

Signed-off-by: Bryn M. Reeves <[email protected]>


Attachments:
0001-Silence-noisy-per-device-cciss-messages.patch (947.00 B)

2013-06-07 18:16:54

by Mike Miller

[permalink] [raw]
Subject: Re: [PATCH][RESEND] Silence noisy per-device cciss messages

On Fri, 2013-06-07 at 14:16 +0100, Bryn M. Reeves wrote:
> Currently cciss logs a message each time cciss_read_capacity_16 is called:
>
> kernel: cciss 0000:03:00.0: blocks= 5274326576 block_size= 512
>
> This generates considerable log noise. An identical message was deleted
> from cciss_read_capacity in 2009.
>
> This patch mirrors the change made to cciss_read_capacity in commit
> 983333c. Emitting device and block size information at KERN_INFO on
> each read_capacity() leads to a lot of log noise.
>
> Signed-off-by: Bryn M. Reeves <[email protected]>

Acked-by: Mike Miller <[email protected]>