public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] Silence noisy per-disk messages output by cciss_read_capacity_16
Date: Fri, 01 Jun 2012 17:22:41 +0100	[thread overview]
Message-ID: <4FC8EC51.5040200@redhat.com> (raw)

[-- 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


                 reply	other threads:[~2012-06-01 16:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FC8EC51.5040200@redhat.com \
    --to=bmr@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox