Re: Journalling of Metadata in ext2fs?

Stephen C. Tweedie (sct@redhat.com)
Thu, 27 May 1999 06:28:31 +0100 (BST)


Hi,

On Sun, 16 May 1999 09:54:38 +0000, Steve Bergman <steve@netplus.net> said:

> Is there a way (in 2.2.8) to turn on journalling or synchronous writing
> of metadata without turning on synchronous writing of the data.

"chattr +S <dirname>" for directory inodes only (or equivalently, "mount
-o sync").

> What are the pros/cons of doing this.

It is slower but gives predictable semantics on an unexpected reboot.
It doesn't avoid the need for fsck.

--Stephen

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