Re: fsync on large files

Dan Hollis (goemon@sasami.anime.net)
Thu, 18 Feb 1999 12:11:24 -0800 (PST)


On 18 Feb 1999, Linus Torvalds wrote:
> In article <Pine.LNX.3.96.990218093226.26524A-100000@sasami.anime.net>,
> Dan Hollis <goemon@sasami.anime.net> wrote:
> >On Thu, 18 Feb 1999, Richard Jones wrote:
> >> About the *only* problem with ext2 right now is the long fsck times.
> >No. The fact you can lose data after a crash is. The long fsck times is
> >a secondary concern. Data integrity is the *primary* concern.
> Journaling doesn't help - journaling essentially only ensures metadata
> consistency, it doesn't enforce actual file contents are "up-to-date"
> (for example, you might have part of a write visible, but not
> necessarily all).

Yes, I should have been clearer. I realize we cant ensure application
level consistency from an OS level, what im mostly concerned about is
filesystem consistency. I lost count of the times ive had to poke around
lost+found to recover the filesystem layout. Or the times e2fsck has
required manual intervention to complete its checking. :(

The 2 hour e2fsck's is purely a secondary concern, but its still annoying.

It might be interesting to have a kernel level transaction facility
available to applications...

-Dan

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