On Wed, Aug 20, 2008 at 01:13:50PM -0700, James G. Sack (jim) wrote:

So I wonder which (controllers &) drives support write barriers. How
does one find out? The hdparm help and manpage seem silent about it. I
suppose there might be some parm in /sys/block/sda (or?), but I can't
see anything obviously relevant.

If you have a partition to spare, you can make an XFS partition on it,
and try mounting it.  XFS complains loudly if it doesn't have barrier
support.

This is most notable because barriers don't seem to yet make it
through LVM.

Supposedly, XFS is a lot more robust with barriers, and there isn't
all that significant of a performance change.  It might be because it
was designed with them in mind, instead of kind of using them as a
slightly better alternative to writing everything synchronously.

David


--
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to