1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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 9e8bd57e15
commit 8095a6c14c

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;