[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120724181820.GA23820@srcf.ucam.org>
Date: Tue, 24 Jul 2012 19:18:20 +0100
From: Matthew Garrett <mjg@...hat.com>
To: "Luck, Tony" <tony.luck@...el.com>
Cc: Seiji Aguchi <seiji.aguchi@....com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"mikew@...gle.com" <mikew@...gle.com>,
"dle-develop@...ts.sourceforge.net"
<dle-develop@...ts.sourceforge.net>,
Satoru Moriya <satoru.moriya@....com>,
"dzickus@...hat.com" <dzickus@...hat.com>
Subject: Re: [RFC][PATCH v2 2/3] Hold multiple logs
On Tue, Jul 24, 2012 at 05:52:25PM +0000, Luck, Tony wrote:
> if (QueryVariableInfo says enough space)
> pstore saves log as new record
> else
> we consider over-write options to re-use an existing record, or just drop this one
I'd lean towards saying drop, and rely on userspace to do something
useful. Personal experience is that if two oopses are unrelated then
there's enough time for userspace to do something and remove the
existing record, and if they're related it's the first one that tells
you where the problem actually is.
One thing that's worth noting - UEFI systems will typically only recover
deleted space on reset. create->delete->create->delete will reduce
available space until the platform is rebooted, at which point the
deleted portion will become available again.
--
Matthew Garrett | mjg59@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists