[lvm-devel] [PATCH 08/22] Replicator: extend volume_group with list of VGs
Zdenek Kabelac
zkabelac at redhat.com
Mon Apr 12 15:21:36 UTC 2010
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.
Signed-off-by: Zdenek Kabelac <zkabelac at redhat.com>
---
lib/metadata/metadata-exported.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
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 {
struct dm_list tags;
+ /* List of wanted/locked and opened VGs */
+ struct dm_list vgs;
+ uint32_t missing_vgs;
+
/*
* FIXME: Move the next fields into a different struct?
*/
--
1.7.0.1
More information about the lvm-devel
mailing list