xfs
[Top] [All Lists]

Re: [RFC] VFS: data=ordered (was: [Advocacy] Re: 3ware 9650 tips)

To: Al Boldi <a1426z@xxxxxxxxx>
Subject: Re: [RFC] VFS: data=ordered (was: [Advocacy] Re: 3ware 9650 tips)
From: Matthew Wilcox <matthew@xxxxxx>
Date: Mon, 16 Jul 2007 13:02:54 -0600
Cc: "Bryan J. Smith" <b.j.smith@xxxxxxxx>, Joshua Baker-LePain <jlb17@xxxxxxxx>, David Chinner <dgc@xxxxxxx>, Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>, Jon Collette <jon@xxxxxxxxxx>, linux-ide-arrays@xxxxxxxxxxxxxxxxx, linux-raid@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx
In-reply-to: <200707162128.08397.a1426z@gawab.com>
References: <alpine.LRH.0.999.0707131356520.25773@chaos.egr.duke.edu> <200707162040.00062.a1426z@gawab.com> <20070716174801.GM13826@parisc-linux.org> <200707162128.08397.a1426z@gawab.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Jul 16, 2007 at 09:28:08PM +0300, Al Boldi wrote:
> Well, conceptually it sounds like a piece of cake, technically your guess is 
> as good as mine.  IIRC, akpm once mentioned something like this.

How much have you looked at the VFS?  There's nothing journalling-related
in the VFS right now.  ext3 and XFS share no common journalling code,
nor do I think that would be possible, due to the very different concepts
they have of journalling.

Here's a good hint:

$ find fs -type f |xargs grep -l journal_start
fs/ext3/acl.c
fs/ext3/inode.c
fs/ext3/ioctl.c
fs/ext3/namei.c
fs/ext3/resize.c
fs/ext3/super.c
fs/ext3/xattr.c
fs/ext4/acl.c
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/ioctl.c
fs/ext4/namei.c
fs/ext4/resize.c
fs/ext4/super.c
fs/ext4/xattr.c
fs/jbd/journal.c
fs/jbd/transaction.c
fs/jbd2/journal.c
fs/jbd2/transaction.c
fs/ocfs2/journal.c
fs/ocfs2/super.c

JBD and JBD2 provide a journalling implementation that ext3, ext4 and
ocfs2 use.  Note that XFS doesn't, it has its own journalling code.

If you want XFS to support data=ordered, talk to the XFS folks.  Or
start picking through XFS yourself, of course -- you do have the source
code.

-- 
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."


<Prev in Thread] Current Thread [Next in Thread>