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

From: Tony Luck
Date: Mon Mar 21 2011 - 18:01:27 EST


On Mon, Mar 21, 2011 at 2:47 PM, Seiji Aguchi <seiji.aguchi@xxxxxxx> 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&w=2

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/