Re: [PATCH] write barriers for 2.4.x

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Feb 14 2002 - 20:21:20 EST


> sure we only try to use tag commands when they are turned on for the
> target, otherwise we can safely assume the drive won't do
> other writes first.

Is this guaranteed by the SCSI standards or do you need to issue some
kind of cache flush as with IDE ?

> With -o barrier, this is now:
>
> write X log blocks
> write 1 commit block
> wait.

That will work nicely with the I2O controllers, and possibly (if its
in the firmware as well as the .h file) the aacraid cards. In those
cases I can often commit to battery backed ram rather than physical
media.

Do you have any idea of driving the cache write through rather than write
back is likely to help here by evening out the commit wait for a flush?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:01:05 EST