[lvm-devel] [PATCH 15/22] Replicator: activate checks for missing vgs

Alasdair G Kergon agk at redhat.com
Mon Apr 26 14:39:04 UTC 2010


On Mon, Apr 12, 2010 at 05:21:43PM +0200, Zdenek Kabelac wrote:
> Activation needs to have all remote VGs locked to pass for replicator.
 
> -	if (lv)
> +	if (lv) {
> +		lv_release_replicator_vgs(lv);
>  		vg_release(lv->vg);

Perhaps vg_release() should be sufficient here on its own?
- If other VGs are linked of it, they must necessarily also be released without the
caller needing to specify that explicitly?

Alasdair




More information about the lvm-devel mailing list