xfs
[Top] [All Lists]

Re: IDE write cache and journaling file systems

To: Andi Kleen <ak@xxxxxxx>
Subject: Re: IDE write cache and journaling file systems
From: Jens Axboe <axboe@xxxxxxx>
Date: Thu, 18 Apr 2002 18:03:44 +0200
Cc: Steve Lord <lord@xxxxxxx>, Jim Buzbee <James.Buzbee@xxxxxxxxxxxx>, XFS List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20020418175314.A21976@wotan.suse.de>
References: <3CBEE618.B220A393@echostar.com> <1019144692.10200.8.camel@jen.americas.sgi.com> <20020418175314.A21976@wotan.suse.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, Apr 18 2002, Andi Kleen wrote:
> > 
> > Andi Kleen was experimenting with the ide cache flushing code in the
> > Suse kernel and adding some flushing calls to XFS. We talked about
> > the right place to add them, I am not sure if he has tried it yet.
> 
> I've tried it and also got it to work in an experimental state, but decided
> to rewrite it to use barriers instead. I didn't yet get around to do this 
> rewrite. The reason for the rewrite is that just doing the flush slows
> it down a lot.

Using barriers is surely the right approach, and lets the kernel use
flushes or tag barriers as provided by the hardware.

> It requires considerable infrastructure not in the standard kernel.

? Both the SuSE kernel has the infrastructure, and the 2.5 kernels so as
well.

-- 
Jens Axboe


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