Re: Implementing Meta File information in Linux

Theodore Y. Ts'o (tytso@mit.edu)
Mon, 14 Sep 1998 13:47:31 -0400


Date: Sun, 13 Sep 1998 21:23:45 GMT
From: jum@anubis.han.de (Jens-Uwe Mager)

Renames in particular have the nice semantic to be atomic, if you keep
meta data externally that breaks. Imagine one person saving a file, an app
renaming the old version and renaming the new version properly saved to
disk to the desired file name. Another user might at the same time move
the file to a different directory, which is a rename as well. There is a
hell of race conditions in that if meta data is not renamed transparently
with the main data.

That's easy to fix. You just index the external store by inode number,
and now renames are no longer a problem.

- Ted

-
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/faq.html