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

Re: [lvm-devel] [BUG-REPORT] mirror legs in the same PV with --alloc anywhere



On Fri, Apr 16, 2010 at 11:50:33AM -0700, malahal us ibm com wrote:
> Requirement: Number of allocatable PV's should be at least the number of
>              mirror legs
> Allocation: Allocate images on different PVs. Allocate logs on remaining
>             PVs in a round robin fashion. If there are more PV's, we
> 	    will not have to share L* and M* at all.

Actually the current code allocates the logs during the first pass, not the
last, (otherwise it risks missing a 'maximal spread' layout).  Only later might
it discover there isn't enough space to complete the allocation under the
current constraints.  Then it needs to abandon the attempt, and try again with
the next, less-strict policy that allows sharing of Logs and Mimages.

Anyway, these are implementation details.  I think we agree on the goals.

Alasdair


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