Re: fsync on large files

Alexander Viro (viro@math.psu.edu)
Wed, 17 Feb 1999 09:33:36 -0500 (EST)


On Wed, 17 Feb 1999, Stephen C. Tweedie wrote:

> Hi,
>
> On Wed, 17 Feb 1999 08:06:07 -0500 (EST), Alexander Viro
> <viro@math.psu.edu> said:
>
> > On Wed, 17 Feb 1999, Stephen C. Tweedie wrote:
>
> > Another way is to consider the buffer cache as patch. I mean the following
> > thing: we have two states of filesystem - on-disk one and (on-disk +
> > in-core) one. Contents of buffer cache works as patch that should be
> > applied to the former to transform it into the later.
>
> What do you think journaling is? <grin>
>
> This is already working. I'm currently extending ext2fs to call the
> joural API to clearly demarkate the beginning and end of each
> individual filesystem operation, so that the "patches" (ie. the
> journaling transactions) correspond to complete transitions from one
> consistent filesystem state to another.

Erm... Sorry, I meant a bit different beast. Think of softupdates extended
to data as well as metadata. I know what journalling is, but it's a
different thing.

-
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/