Subject: Re: FFS update doesn't sync metadata?
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-kern
Date: 12/06/2004 14:22:51
On Mon, 6 Dec 2004, Jaromir Dolecek wrote:

> Frederick Bruckman wrote:
>
>> the intuitive thing would be to flush the buffer cache *after* the
>> filesystem is marked "rw", if that's possible.

Actually, I meant to say "ro" there. I guess you got that.

> Yeah, the intuitive thing would be to flush the buffer cache
> after filesystem is marked ro. Is there any reason we don't
> do that? AFAICS ffs only flushes file system data on update to 'ro',
> but not metadata.

Perhaps that code path simply hasn't been adapted to soft updates. 
There didn't used to be any metadata in the buffer cache, ever.


Frederick