public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Silence noisy per-disk messages output by cciss_read_capacity_16
@ 2012-06-01 16:22 Bryn M. Reeves
  0 siblings, 0 replies; only message in thread
From: Bryn M. Reeves @ 2012-06-01 16:22 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

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 <bmr@redhat.com>


[-- Attachment #2: 0001-Silence-noisy-per-disk-messages-output-by-cciss_read.patch --]
[-- Type: text/x-patch, Size: 996 bytes --]

>From 92d39715bdbe8c3c12aa0fe6b04237fe56f47c68 Mon Sep 17 00:00:00 2001
From: "Bryn M. Reeves" <bmr@errorists.org>
Date: Fri, 1 Jun 2012 17:11:24 +0100
Subject: [PATCH] Silence noisy per-disk messages output by
 cciss_read_capacity_16

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 <bmr@redhat.com>
---
 drivers/block/cciss.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index b0f553b..ea6853d 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -2934,8 +2934,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);
 }
 
-- 
1.7.6.5


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-01 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-01 16:22 [PATCH] Silence noisy per-disk messages output by cciss_read_capacity_16 Bryn M. Reeves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox