Re: Out-of-order writing by disk drives

From: Michael Tokarev
Date: Tue Apr 14 2009 - 13:49:03 EST


Mark Lord wrote:
Andi Kleen wrote:
[]
A common problem is barriers over LVM. Since 2.6.29 they work
with a single device (and if the underlying device supports it) with dm linear, but not in any other LVM setup.

Does anyone else here find this rather peculiar?

The folks who actually care about barriers the most
(apart from kernel developers) are probably enterprise users.

And who is most likely to be using RAID and LVM,
where barriers generally don't work at all ?

And esp. RAID10.

(Not being an "enterprise" user really, but I do still use
several hard drives and databases).

For this very reason, I stopped using both RAID10 and LVM.

For now, I've several large RAID1 volumes with GPT partitions
inside them, and use that for various databases etc. With
XFS mostly. It also does not have constant alignment problems
what LVM has(*) (I can align GPT properly, even when the tools
to do so (parted-derivates) are very bad quality still, crashing
left and right). Yes it's not that easy to use as LVM, but it
is MUCH faster because of all the reasons stated.

(*) another LVM's issue which is hidden behind scenes for
most users, and is especially serious on raid5 or raid6 --
this is misaligned blocks. The good thing about this is
that raid[56] are not usually being used for write-intensive
applications like databases.

/mjt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/