On Mon, Apr 21, 2008 at 12:42:42AM +0100, Jamie Lokier wrote: > Andi Kleen wrote: > > [LVM] always disables barriers if you don't apply a so far unmerged > > patch that enables them in some special circumstances (only single > > backing device) > > (I continue to be surprised at the un-safety of Linux fsync) Note barrier less does not necessarily always mean unsafe fsync, it just often means that. Also surprisingly lot more syncs or write cache off tend to lower the MTBF of your disk significantly, so "unsafer" fsync might actually be more safe for your unbackuped data. > > Not having barriers sometimes makes your workloads faster (and less > > safe) and in other cases slower. > > I'm curious, how does it make them slower? Merely not issuing barrier > calls seems like it will always be the same speed or faster. Some setups detect the no barrier case and switch to full sync + wait (or write cache off) which depending on the disk supporting NCQ can be slower. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html