Pack bool fsid_change and bool seeding with other bool declarations in the
struct btrfs_fs_devices, approximately 6 bytes is saved, depending on
the config.
before: 512 bytes
after: 496 bytes
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
struct btrfs_fs_devices {
u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */
u8 metadata_uuid[BTRFS_FSID_SIZE];
- bool fsid_change;
struct list_head fs_list;
/*
struct list_head alloc_list;
struct list_head seed_list;
- bool seeding;
int opened;
bool rotating;
/* Devices support TRIM/discard commands */
bool discardable;
+ bool fsid_change;
+ bool seeding;
struct btrfs_fs_info *fs_info;
/* sysfs kobjects */