lkml.org 
[lkml]   [2012]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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>

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
\
 
 \ /
  Last update: 2012-06-01 18:41    [W:0.030 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site