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

Huang Ying
2010-12-22T00:45:26Z

On Wed, 2010-12-22 at 08:32 +0800, David Howells wrote:
> Huang Ying <ying.huang@intel.com> wrote:
>
> > The user space program (syslogd) is in my big picture, it will guarantee
> > an oops meesage actually go to disk via something like fsync. After
> > doing that, the user space program can erase the corresponding record in
> > persistent storage to free the space. So all in all, oops messages not
> > causing system panic or disk error will go to disk eventually and being
> > freed and will not use up the persistent storage.
>
> I see. So you rely on fsync() to hang forever if the message can't be written
> to disk because an oops killed the write path?

Yes. Or fsync() report error.

Best Regards,
Huang Ying