[lvm-devel] [PATCH 1/11] lvconvert takes '--wait' instead of '--background'

Alasdair G Kergon agk at redhat.com
Mon Jan 14 14:29:02 UTC 2008


On Fri, Jan 11, 2008 at 06:43:56PM -0500, Jun'ichi Nomura wrote:
> Remove '--background' option and add '--wait' option to lvconvert.
 
> The option was inherited from pvmove.
> However, since lvconvert used to exit immediately and it still does
> for different types of conversion (e.g. linear to mirror conversion),
> it's more consistent and intuitive to add '--wait' option for foreground
> polling and do it in background by default.
 
I'm not yet persuaded about the need for this change.

The aim is that the behaviour of the tools be consistent across
the whole command set.

Waiting for the operation to complete feels more intuitive to me.

(It's the existing cases where we don't wait for the kernel to
finish its initial copy that feel wrong to me.)

Alasdair
-- 
agk at redhat.com




More information about the lvm-devel mailing list