From: Vivek Goyal <vgoyal@in.ibm.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Preben Traerup <Preben.Trarup@ericsson.com>,
fastboot@lists.osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [Fastboot] [PATCH] kdump: add a missing notifier before crashing
Date: Mon, 19 Jun 2006 13:07:11 -0400 [thread overview]
Message-ID: <20060619170711.GB8172@in.ibm.com> (raw)
In-Reply-To: <m1hd2hhyzn.fsf@ebiederm.dsl.xmission.com>
On Mon, Jun 19, 2006 at 10:49:32AM -0600, Eric W. Biederman wrote:
> Preben Traerup <Preben.Trarup@ericsson.com> writes:
>
> > Strictly speaking for myself: Nothing.
> >
> > Mr. Akiyama Nobuyuk gave an example from his environment which is cluster
> > systems.
> > I was the one saying we in our Telco systems could use this feature too.
> >
> > The only thing Mr. Akiyama Nobuyuk and I have in common is we both would like to
> > do
> > something before crash dumping, simply because the less mess we will have to
> > cleanup
> > afterwards in the system taking over, the better.
> >
> > Mr. Akiyama Nobuyuk operates on SCSI devices to avoid filesystem corruptions.
> > My usage would be more like notifying external management to get traffic
> > redirected to server systems taking over.
>
> Ok. That resolves some of my confusion.
>
> After think this over here is my position.
>
> There may be cases where it is warranted to add a call during crash_kexec.
> I have seen no evidence that the cases where we want something happening
> in crash_kexec are going to be at all common. It is my opinion anything
> added to the crash_kexec path needs a case by case review.
>
> Therefore if something is needs to happen in the crash kexec path it
> should be a direct function call. No pointers and no hooks. Just call
> the function.
>
> Patches that and add an explicit function call allow for case by case review
> and convey the message that you really don't want to do that, and that we
> are really dealing with an exceptional circumstance.
>
> Does this sound like a reasonable position?
Sounds like trouble for modules. I am assuming that code to power down the
scsi disks/controller will be part of the driver, which is generally built
as a module and also assuming that powering down the disks is a valid
requirement after the crash.
After introducing an option to disable/enable crash notifiers from user
space I think now responsibility lies to with user. If he chooses to enable
the notifiers, he understands that there are chances that we never boot
into the next kernel and get lost in between.
Thanks
Vivek
next prev parent reply other threads:[~2006-06-19 17:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-15 11:16 Akiyama, Nobuyuki
2006-06-16 6:28 ` [Fastboot] " Eric W. Biederman
2006-06-16 12:15 ` Akiyama, Nobuyuki
2006-06-16 16:37 ` Eric W. Biederman
2006-06-19 7:30 ` Akiyama, Nobuyuki
2006-06-19 12:47 ` Eric W. Biederman
2006-06-19 13:28 ` Preben Traerup
2006-06-19 16:49 ` Eric W. Biederman
2006-06-19 17:07 ` Vivek Goyal [this message]
2006-06-19 17:50 ` Eric W. Biederman
2006-06-19 18:19 ` Vivek Goyal
2006-06-19 18:45 ` Eric W. Biederman
2006-06-20 3:46 ` Akiyama, Nobuyuki
2006-06-20 3:39 ` Akiyama, Nobuyuki
2006-07-04 12:33 Akiyama, Nobuyuki
2006-07-05 16:14 ` [Fastboot] " Eric W. Biederman
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=20060619170711.GB8172@in.ibm.com \
--to=vgoyal@in.ibm.com \
--cc=Preben.Trarup@ericsson.com \
--cc=ebiederm@xmission.com \
--cc=fastboot@lists.osdl.org \
--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
all inboxes | Powered by JetHome®