Skip to contentSkip to conversation

Silence noisy per-disk messages output by cciss_read_capacity_16

PATCH New Bryn M. Reeves 1 participant 1 message Jun 1, 2012 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Quoted 1 line

From 92d39715bdbe8c3c12aa0fe6b04237fe56f47c68 Mon Sep 17 00:00:00 2001

From: "Bryn M. Reeves" <[email protected]>
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.

---
 drivers/block/cciss.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/block/cciss.c +0 -2
index b0f553b..ea6853d 100644
@@ -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);
 }
 
Signature · 1 line
1.7.6.5