Messages in this thread | | | Date | Tue, 14 Apr 2009 21:48:50 +0400 | From | Michael Tokarev <> | Subject | Re: Out-of-order writing by disk drives |
| |
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
| |