Subject: Re: write cache on ATA drives
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 12/09/2002 14:29:13
On Mon, Dec 09, 2002 at 11:07:38PM +0100, Manuel Bouyer wrote:
> I don't know for LFS, but if I remember properly, softdeps is doing its
> own write barrier by waiting for some kind of I/O to complete before
> starting new writes (basically it needs metadata I/O to be keept ordered
> but data can be written in no specific order).
Right, by simply waiting (using biowait) or using a callback, there's no
explcitit "this is synchronous i/o" indication in the buffer, so you need
some sort of other indication.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>