From: Sasha Levin <levinsasha928@gmail.com>
To: neilb@suse.de, mingo@elte.hu
Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org,
Sasha Levin <levinsasha928@gmail.com>
Subject: [PATCH] md: Remove annoying debug message when restarting
Date: Sun, 15 Jan 2012 23:14:15 +0200 [thread overview]
Message-ID: <1326662055-7098-1-git-send-email-levinsasha928@gmail.com> (raw)
This patch removes the "md: stopping all md devices" message when shutting
down/restarting.
On Sat, 2012-01-14 at 09:43 +0100, Ingo Molnar wrote:
> Btw. #2, that annoying 'md: stopping' message should be gotten
> rid of. Some moron added that to the kernel as a one-day debug
> printout to debug a software-RAID hang during development of the
> code, about 15 years ago. (Oh, that was me.)
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
---
drivers/md/md.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 9417ae2..1491969 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -8158,8 +8158,6 @@ static int md_notify_reboot(struct notifier_block *this,
if ((code == SYS_DOWN) || (code == SYS_HALT) || (code == SYS_POWER_OFF)) {
- printk(KERN_INFO "md: stopping all md devices.\n");
-
for_each_mddev(mddev, tmp) {
if (mddev_trylock(mddev)) {
/* Force a switch to readonly even array
--
1.7.8.3
next reply other threads:[~2012-01-15 21:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 21:14 Sasha Levin [this message]
2012-01-16 7:33 ` [PATCH] md: Remove annoying debug message when restarting Ingo Molnar
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=1326662055-7098-1-git-send-email-levinsasha928@gmail.com \
--to=levinsasha928@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=neilb@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).