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

metadata: pahole logical_volume

Shuffle some variables to remove 'extra' alignment holes
within the structure thus making it smaller.
This commit is contained in:
Zdenek Kabelac 2024-10-29 16:33:17 +01:00
parent d87a963937
commit d1e17bc202

View File

@ -27,16 +27,15 @@ struct logical_volume {
struct volume_group *vg;
uint64_t status;
alloc_policy_t alloc;
struct profile *profile;
uint64_t status;
uint64_t size; /* Sectors visible */
uint32_t le_count; /* Logical extents visible */
alloc_policy_t alloc;
uint32_t read_ahead;
int32_t major;
int32_t minor;
uint64_t size; /* Sectors visible */
uint32_t le_count; /* Logical extents visible */
uint32_t origin_count;
uint32_t external_count;
struct dm_list snapshot_segs;