* [PATCH] md: Remove annoying debug message when restarting
@ 2012-01-15 21:14 Sasha Levin
2012-01-16 7:33 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2012-01-15 21:14 UTC (permalink / raw)
To: neilb, mingo; +Cc: linux-raid, linux-kernel, Sasha Levin
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] md: Remove annoying debug message when restarting
2012-01-15 21:14 [PATCH] md: Remove annoying debug message when restarting Sasha Levin
@ 2012-01-16 7:33 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2012-01-16 7:33 UTC (permalink / raw)
To: Sasha Levin; +Cc: neilb, linux-raid, linux-kernel
* Sasha Levin <levinsasha928@gmail.com> wrote:
> 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>
Acked-by: Ingo Molnar <mingo@elte.hu>
Thanks,
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-16 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-15 21:14 [PATCH] md: Remove annoying debug message when restarting Sasha Levin
2012-01-16 7:33 ` Ingo Molnar
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).