Re: Improving Ext2 Reliability

Theodore Y. Ts'o (tytso@MIT.EDU)
Tue, 14 Apr 1998 00:37:06 -0400


Date: Mon, 13 Apr 1998 22:53:29 -0400 (EDT)
From: "Benjamin C.R. LaHaise" <blah@kvack.org>

Aside from your specific case, methinks there are several people working
on alternative fs's or even adding log extensions to ext2. (Personally,
I've been tinkering with the design of something off and on, but haven't
written the code for it yet...)

Note that the logging extensions merely make it unnecessary to run
fsck. There's still no guarantee that the user data is consistent. You
can make your application play games with fsync and renaming files to
their final destination only after you're finished writing it and
fsync'ing it, but that's even after we get metadata logging implemented,
it will still be the application's responsibility to make sure the user
data is consistent.

Ben is right, though --- for cache, the fastest and safest way of
recovering after a crash is to use mke2fs, since all of the information
in a cache can be refreshed from the Net anyway.

- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu