]> Gentwo Git Trees - linux/.git/commit
btrfs: place all boolean fields together in struct find_free_extent_ctl
authorFilipe Manana <fdmanana@suse.com>
Mon, 17 Nov 2025 12:15:09 +0000 (12:15 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:42:26 +0000 (22:42 +0100)
commit7a832b870b8a7a6a16a51dcdd8adde47b27f0169
tree16db160994e65ef7391046281e530027923e87f5
parente21756fc4aa78539b9cb9b45bfc8c4fd12322bc5
btrfs: place all boolean fields together in struct find_free_extent_ctl

Move the 'retry_uncached' and 'hint' fields close to the other boolean
fields so that we remove a hole from the structure and reduce its size
from 136 bytes down to 128 bytes. Currently this structure is only
allocated in the stack of btrfs_reserve_extent().

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.h