LWN.net Logo

Re: [RFC] pstore: Don't use persistent store for normal shutdown

From:  Tony Luck <tony.luck-AT-intel.com>
To:  Seiji Aguchi <seiji.aguchi-AT-hds.com>
Subject:  Re: [RFC] pstore: Don't use persistent store for normal shutdown
Date:  Mon, 21 Mar 2011 15:01:14 -0700
Message-ID:  <AANLkTi=o3fN+aXSodZL_MyDnFczaXCmOjFwReD1jDZQP@mail.gmail.com>
Cc:  "linux-kernel-AT-vger.kernel.org" <linux-kernel-AT-vger.kernel.org>, David Woodhouse <dwmw2-AT-infradead.org>, Marco Stornelli <marco.stornelli-AT-gmail.com>, Artem Bityutskiy <Artem.Bityutskiy-AT-nokia.com>, KOSAKI Motohiro <kosaki.motohiro-AT-jp.fujitsu.com>, Andrew Morton <akpm-AT-linux-foundation.org>, Linus Torvalds <torvalds-AT-linux-foundation.org>
Archive-link:  Article, Thread

On Mon, Mar 21, 2011 at 2:47 PM, Seiji Aguchi <seiji.aguchi@hds.com> wrote:
> I think we should introduce a tunable parameter specifying how much data stores into persistent
> ram when normal shutdown happens.

Currently pstore has a /sys/fs/pstore hook to change the amount of data saved.
Christoph Hellwig convinced me that a mount option would be better, so there
is a patch pending to change this:
  http://marc.info/?l=linux-fsdevel&m=130048763005234&...

I can add more options easily (apart from thinking of good names for
the options :-)

But this is beginning to feel over engineered ... I think I'll wait to see
if there are some other (better) ideas before I rush to do this.

-Tony


(Log in to post comments)

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds