]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: reduce size of struct btrfs_free_space_ctl
authorFilipe Manana <fdmanana@suse.com>
Wed, 15 Apr 2026 14:06:13 +0000 (15:06 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Jun 2026 13:53:29 +0000 (15:53 +0200)
commit08d9e2162ca2825565e21422f95caa9f5f4b900b
tree4ea1843300c36e5acabbe734d0ccb5cd65c037db
parentacef2bf43aa222e7d5396ba889789e2ce14f2062
btrfs: reduce size of struct btrfs_free_space_ctl

We have a 4 bytes hole in the structure, reorder some fields so that we
eliminate the hole and reduce the structure size from 144 bytes down to
136 bytes. This way on a 4K page system, we can fit 30 structures per
page instead of 28.

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/free-space-cache.h