[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ_JQ2Wv23DOruA673Wukj5yUO9Ru66k1CjQ0h+7+x4iS6FX3Q@mail.gmail.com>
Date: Thu, 25 Oct 2012 14:25:26 +0300
From: "Tatulea, Dragos" <dragos.tatulea@...el.com>
To: "Luck, Tony" <tony.luck@...el.com>
Cc: Kees Cook <keescook@...omium.org>,
"Tirdea, Irina" <irina.tirdea@...el.com>,
Anton Vorontsov <cbouatmailru@...il.com>,
Colin Cross <ccross@...roid.com>, Chris Ball <cjb@...top.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Hunter, Adrian" <adrian.hunter@...el.com>,
"Purdila, Octavian" <octavian.purdila@...el.com>
Subject: Re: [PATCH 02/26] pstore: add flags
On Tue, Oct 23, 2012 at 7:57 PM, Luck, Tony <tony.luck@...el.com> wrote:
>> I wonder if the default should be to not show headers, and to add this
>> flag to the backends that want the pstore-added header. I think the
>> more common case going forward will to be without headers since
>> backends should arguably storing metadata themselves.
>
> Perhaps just add the headings when pstore breaks a dump into
> pieces because of a back-end size limitation. I.e. if there is only
> one piece, then no headings. If there are two or more, include
> a heading to aid with putting the pieces together later.
>
But how do you determine the kmsg data size without doing a
kmsg_dump_get_buffer beforehand?
Thanks,
Dragos
--
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