Silence noisy per-device cciss messages
PATCH RESEND 1/1 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.
Quoted 1 line
From
da8267e5452e03158da8dd27026fb7188342d653Mon Sep 17 00:00:00 2001
From: "Bryn M. Reeves" <[email protected]>
Date: Fri, 7 Jun 2013 13:45:10 +0100
Subject: [PATCH] Silence noisy per-device cciss messages
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.
--- drivers/block/cciss.c | 2 -- 1 file changed, 2 deletions(-)
drivers/block/cciss.c +0 -2
@@ -2937,8 +2937,6 @@ static void cciss_read_capacity_16(ctlr_info_t *h, int logvol, *total_size =0 ; *block_size =BLOCK_SIZE ; } -dev_info (&h->pdev->dev," blocks= %llu block_size= %d\n" , - (unsigned long long )*total_size+1 , *block_size);kfree (buf); }
Signature · 1 line
1.7.11.7
Quoted 4 lines · Bryn M. Reeves
Currently cciss logs a message each time
cciss_read_capacity_16is called:kernel: cciss 0000:03:00.0: blocks= 5274326576 block_size= 512
Quoted 8 lines
This generates considerable log noise. An identical message was deleted from
cciss_read_capacityin 2009.This patch mirrors the change made to
cciss_read_capacityin commit 983333c. Emitting device and block size information atKERN_INFOon eachread_capacity()leads to a lot of log noise.Signed-off-by Bryn M. Reeves <[email protected]>