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

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Tue Nov 27 01:51:37 UTC 2007


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




More information about the lvm-devel mailing list