[OpenAFS-devel] RE: fsck

Nat Lanza magus@cs.cmu.edu
08 Nov 2000 21:50:11 -0500


Bill Zumach <zumach@fringent.com> writes:

> Lookup is not so much of a problem as file creation. On file systems which
> do orderly meta-data updates (pretty much anyone other than ext2), creating
> a file involves syncing the new inode as well as the directoty to disk. Even
> a journalling file system occurs some of this overhead if there are a lot of
> file creates going on, untar'ing a directory tree, for example.

You can get around this decently with an approach like soft
updates. Clearly the ext2fs approach is wrong, but if you're willing
to accept "consistent filesystem" as your requirement instead of
"consistent filesystem current to the last file create", then you can
avoid a lot of synchronous writes.


--nat

-- 
nat lanza --------------------- research programmer, parallel data lab, cmu scs
magus@cs.cmu.edu -------------------------------- http://www.cs.cmu.edu/~magus/
there are no whole truths; all truths are half-truths -- alfred north whitehead