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

Re: [lvm-devel] [PATCH 08/22] Replicator: extend volume_group with list of VGs

On Mon, Apr 12, 2010 at 05:21:36PM +0200, Zdenek Kabelac wrote:
> Add linked list of opened VGs. List keeps the information
> about needed and locked and opened VGs for replicator target.
> Also add missing_vgs status information for quick check and
> also for possible continuos process_each_lv() where we need
> to detect whether failure has been caused by missing VG or
> some other reason.
> diff --git a/lib/metadata/metadata-exported.h b/lib/metadata/metadata-exported.h
> index 6d40365..9c73dba 100644
> --- a/lib/metadata/metadata-exported.h
> +++ b/lib/metadata/metadata-exported.h
> @@ -250,6 +250,10 @@ struct volume_group {
> +        /* List of wanted/locked and opened VGs */
> +	struct dm_list vgs;
> +	uint32_t missing_vgs;

Can we think up more-specific names?

vg->vgs isn't very informative.


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