Re: [concept & "good taste" review] persistent store

Tony Luck
2010-12-21T05:13:36Z

On Mon, Dec 20, 2010 at 4:48 PM, Huang Ying <ying.huang@intel.com> wrote:
> If persistent storage driver (such as ERST) implements kmsg_dumper by
> themselves, that should be easier to use multiple records for one
> message dumping request.

Or I can build it into the fs/pstore layer. If the record size looks too
small[*], loop writing multiple records (starting with the tail of the buffer,
so that if the persistent store fills up, we are sure to have the stack
back trace and register dump).

-Tony

[*] "Too small" may be an architecture dependent value. Archs
with a large number of registers (like ia64) might need more space
than those with fewer registers.