Re: [PATCH] write barriers for 2.4.x

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 15 Feb 2002 01:21:20 +0000 (GMT)


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


"
  • Previous message: Ken Brownfield: "Re: tux officially in kernel?"
  • Next in thread: Chris Mason: "Re: [PATCH] write barriers for 2.4.x"
  • Reply: Chris Mason: "Re: [PATCH] write barriers for 2.4.x"