Re: Memory filesystems

From: Michael Bacarella (mbac@nyct.net)
Date: Sun May 28 2000 - 12:39:57 EST


On Sun, 28 May 2000, Warren Young wrote:

> Well, something occurred to me just now: wouldn't journalling wreck this
> pretty picture? With journalling, all disk writes have to go
> immediately to the disk instead of waiting in memory until the kernel
> gets bored and flushes buffers to disk.

A logging filesystem will not make the buffer cache go away.

The point of making a list beforehand saying what you're going to do (and
checking off items as you do them) is so you can figure out what needs
to be done if the system comes back after some kind of abnormal shutdown.

> I suppose you could write a JFS that still was lazy about flushing
> buffers, but it then you only gain disk coherency from the JFS. Such a
> JFS could obey the "-o sync" mount option and use lazy buffer flushing
> only when the option isn't given.

-MB

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:19 EST