Re: [RFC] [PATCH] lvm2: mirroredlog support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 30, 2009 at 02:48:22PM -0500, Jon Brassow wrote:
> Inserting a new allocation level is a possibility.  I don't think it's  
> necessary to solve (what I see as) the problem.  Do you have a reason  
> for this?  

It doesn't actually fit into the existing hierarchy very well at all - it's
pretty much an independent property (which the existing allocation routines
do not support).  E.g. consider if you require 'cling' with the log on the
same disk as some of the mirror's data.  Falling through to 'Normal' or
'anywhere' and allowing the log to share a disk could give you a wrong
layout.  But you want to give priority to arrangements with the log on a
different disk where possible.  So do you have to try all the policies twice,
first with the existing find_parallel_areas, and then with a new flag which
allows some specified areas to be 'anywhere' (almost doubling the number of
policies), or perhaps break it into two independent allocations at that point,
one for the data and then one for the log?

Alasdair

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux