From 23687ed34df058b7a12e5948b23f0ba6de633e1c Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 26 Nov 2001 12:49:29 +0000 Subject: [PATCH] o sync the new in core rep. for Alasdair. This will break everything ! Hopefully things will be working again by this evening. --- lib/metadata/metadata.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/metadata/metadata.h b/lib/metadata/metadata.h index e1fec10bb..09fb8e39e 100644 --- a/lib/metadata/metadata.h +++ b/lib/metadata/metadata.h @@ -68,6 +68,12 @@ struct pe_specifier { uint32_t pe; }; +struct stripe_segment { + uint32_t count; + uint32_t chunk_size; + struct pe_specifier[1]; +}; + struct cmd_context; struct volume_group { @@ -108,8 +114,9 @@ struct logical_volume { uint64_t size; uint32_t le_count; - /* le -> pe mapping array */ - struct pe_specifier *map; + /* the segment array */ + uint32_t segment_count; + struct stripe_segment *segments; }; struct name_list {