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

Re: [lvm-devel] [PATCH 05/23] Replicator: suspend/deactivate replicator



On Thu, May 06, 2010 at 10:34:47AM +0200, Zdenek Kabelac wrote:
> With the Replicator we have the logic, which has the use case for both
> variants (and no other target so far needed this) - thus we need to
> distinguish between them somehow.
> 
>      master replicator node     (replicator0)
>            replicator-dev node  (lv1)
>            replicator-dev node  (lv2)
> 
> We may want to either 'remove/suspend' the whole replicator - or just one leg.
> Thus cutting the leg without suspending master node is valid and supported
> operation here. So to differentiate between cutting leg or replicator the
> parent suspend flag is used. That way we may atomically freeze the whole
> replicator and avoid damage in the ordering of rlogged data.
 
Elsewhere we issue the suspend at the top part of the tree that we wish to 
suspend.  So distinguish the two cases by suspend(replicator0) vs suspend(lv1).

So I'm still not seeing the complete picture/problem here.

Alasdair


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