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

Re: [lvm-devel] [PATCH] Cleanup partial failure of activation



Alasdair G Kergon wrote:
> I don't believe this problem can be resolved with such a tiny patch.
> 
> There are two approaches:
>   1) have proper reversion code inside the guts of the library activation code
>   2) let the caller, which possesses knowledge about the *sequence* of steps
> making up the operation, handle reversion sensibly
> 
> I expect a mixture of the two - mostly (2) in the places we need it now (quick
> and easy and a few cases already done), but eventually more use of (1) which is
> technically a better solution (but harder).

Thanks for the explanation.
I see the point.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America


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