1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

o More metadata changes.

This commit is contained in:
Joe Thornber 2001-11-26 16:18:48 +00:00
parent 6b35c7eb9d
commit f95627cf8a

View File

@ -63,17 +63,20 @@ struct physical_volume {
uint32_t pe_allocated; uint32_t pe_allocated;
}; };
struct pe_specifier { struct pv_area {
struct physical_volume *pv; struct physical_volume *pv;
uint32_t pe; uint32_t start; /* in extents */
uint32_t len; /* in extents */
}; };
struct stripe_segment { struct stripe_segment {
uint32_t chunk_size; struct list list;
uint32_t pe_count;
/* variable sized pe array */ uint32_t chunk_size;
struct pe_specifier pes[0]; uint32_t stripes;
/* There will be one pv_area for each stripe */
struct pv_area areas[0];
}; };
struct cmd_context; struct cmd_context;
@ -116,8 +119,7 @@ struct logical_volume {
uint32_t le_count; uint32_t le_count;
/* the segment array */ /* the segment array */
uint32_t segment_count; struct list segments;
struct stripe_segment **segments;
}; };
struct name_list { struct name_list {