From: "Bryn M. Reeves" <bmr@redhat.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: mike.miller@hp.com, scameron@beardog.cce.hp.com,
thenzl@redhat.com, axboe@kernel.dk
Subject: [PATCH][RESEND] Silence noisy per-device cciss messages
Date: Fri, 07 Jun 2013 14:16:08 +0100 [thread overview]
Message-ID: <51B1DD18.3080104@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
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.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
[-- Attachment #2: 0001-Silence-noisy-per-device-cciss-messages.patch --]
[-- Type: text/x-patch, Size: 947 bytes --]
>From da8267e5452e03158da8dd27026fb7188342d653 Mon Sep 17 00:00:00 2001
From: "Bryn M. Reeves" <bmr@redhat.com>
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.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
---
drivers/block/cciss.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 6374dc1..b128016 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -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);
}
--
1.7.11.7
next reply other threads:[~2013-06-07 13:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 13:16 Bryn M. Reeves [this message]
2013-06-07 18:16 ` [PATCH][RESEND] Silence noisy per-device cciss messages Mike Miller (OS Dev)
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=51B1DD18.3080104@redhat.com \
--to=bmr@redhat.com \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=mike.miller@hp.com \
--cc=scameron@beardog.cce.hp.com \
--cc=thenzl@redhat.com \
/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