[prev in list] [next in list] [prev in thread] [next in thread]
List: lvm-devel
Subject: Re: [lvm-devel] [PATCH] Cleanup partial failure of activation
From: "Jun'ichi Nomura" <j-nomura () ce ! jp ! nec ! com>
Date: 2007-11-27 1:51:37
Message-ID: 474B7829.5090708 () ce ! jp ! nec ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic