From: Andrew Morton <akpm@linux-foundation.org>
To: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: "simon.kagstrom@netinsight.net" <simon.kagstrom@netinsight.net>,
"David.Woodhouse@intel.com" <David.Woodhouse@intel.com>,
"anders.grafstrom@netinsight.net"
<anders.grafstrom@netinsight.net>,
"Artem.Bityutskiy@nokia.com" <Artem.Bityutskiy@nokia.com>,
"kosaki.motohiro@jp.fujitsu.com" <kosaki.motohiro@jp.fujitsu.com>,
"jason.wessel@windriver.com" <jason.wessel@windriver.com>,
"jslaby@suse.cz" <jslaby@suse.cz>,
"jmorris@namei.org" <jmorris@namei.org>,
"eparis@redhat.com" <eparis@redhat.com>,
"hch@lst.de" <hch@lst.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dle-develop@lists.sourceforge.net"
<dle-develop@lists.sourceforge.net>,
Satoru Moriya <satoru.moriya@hds.com>
Subject: Re: [RFC][Patch] Adding kmsg_dump() to reboot/halt/poweroff/emergency_restart path
Date: Mon, 18 Oct 2010 15:33:50 -0700 [thread overview]
Message-ID: <20101018153350.18b68c50.akpm@linux-foundation.org> (raw)
In-Reply-To: <5C4C569E8A4B9B42A84A977CF070A35B2C11B4B724@USINDEVS01.corp.hds.com>
On Mon, 18 Oct 2010 18:24:11 -0400
Seiji Aguchi <seiji.aguchi@hds.com> wrote:
> Hi,
>
> Final messages from reboot, halt and poweroff aren't output to disk because klogd/syslogd
> has been killed and root file system has been turned read-only.
>
> Final messages from emergency_restart aren't output to disk as well because system may
> reboot before klogd/syslogd outputs messages to disk.
>
> Therefore, it is better to put kmsg_dumper in reboot/halt/poweroff/emergency_restart path.
> Any comments/advices are welcome.
>
I don't get it.
What actual problem are we solving here? Why is the current code
inadequate? It would help to demonstrate some use-case and to explain
how the situation improved with this patch.
next prev parent reply other threads:[~2010-10-18 22:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 22:24 [RFC][Patch] Adding kmsg_dump() to reboot/halt/poweroff/emergency_restart path Seiji Aguchi
2010-10-18 22:33 ` Andrew Morton [this message]
2010-10-27 19:44 ` Seiji Aguchi
2010-11-03 21:50 ` Aaron Durbin
2010-11-04 7:20 ` Artem Bityutskiy
2010-10-19 8:52 ` KOSAKI Motohiro
2010-10-19 8:51 ` Artem Bityutskiy
2010-10-27 23:35 ` Andrew Morton
2010-10-28 19:58 ` Artem Bityutskiy
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=20101018153350.18b68c50.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=Artem.Bityutskiy@nokia.com \
--cc=David.Woodhouse@intel.com \
--cc=anders.grafstrom@netinsight.net \
--cc=dle-develop@lists.sourceforge.net \
--cc=eparis@redhat.com \
--cc=hch@lst.de \
--cc=jason.wessel@windriver.com \
--cc=jmorris@namei.org \
--cc=jslaby@suse.cz \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=satoru.moriya@hds.com \
--cc=seiji.aguchi@hds.com \
--cc=simon.kagstrom@netinsight.net \
/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