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

Linus Torvalds
2010-12-17T01:58:00Z

On Mon, Dec 13, 2010 at 10:16 AM, Luck, Tony <tony.luck@intel.com> wrote:
>
> So before I embark on another round of code nit-picking, I'd like to
> get answers to the bigger questions:
>
>  Do we want/need this in Linux at all?
>
>  Is the overall approach OK, or do I need do this some other way?

So I have to say, it seemed interesting at first. I was like "ok, I
don't really see the point of making it a filesystem, but whatever -
it's pretty small".

Then I hit the

/* Don't dump oopses to persistent store */
if (reason == KMSG_DUMP_OOPS)
return;

and I'm like "ok, this is just stupid".

The _only_ valid reason for persistent storage is for things like
oopses that kill the machine. Nothing else matters at all. If the
machine isn't dead, and it's not some critical oops, then why the
_hell_ would you ever use persistent storage? You're much better off
just using the regular disk.

So in the end, I really don't see any point at all to this thing. The
filesystem part is pointless (there are better filesystems around and
everybody has a disk or flash or whatever), and the only real upside
has been explicitly castrated.

Linus