Re: Journalling of Metadata in ext2fs?

Stephen C. Tweedie (sct@redhat.com)
Tue, 18 May 1999 00:10:11 +0100 (BST)


Hi,

Matthew Kirkwood writes:

> Linux does not support synchronous metadata, except as a side-effect of
> completely synchronous filesystems. Stephen Tweedie (sct@redhat.com) is
> working on journalling extensions to ext2 and the vfs/block device layers,
> but I doubt you'll see them before mid-2.3. They're described in a paper
> at ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/.
>
> Stephen - could some of the API be exported to userspace for use by things
> like databases which want similar transaction support?

No, the requirements of filesystems are very specialised: in
particular you know you are only going to be dealing with small sets
of updates, and you have very relaxed locking requirements.
General-purpose application-level journaling is MUCH more complex ---
get a database, that's what they are there for.

Note that libdb2 in glibc supports transactions, btw.

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