]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: remove start field from struct btrfs_free_space_ctl
authorFilipe Manana <fdmanana@suse.com>
Wed, 15 Apr 2026 12:31:05 +0000 (13:31 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Jun 2026 13:53:29 +0000 (15:53 +0200)
commit5e4b57f77ca3e39bde9681e4d79ea564bbd4fece
tree1f57dd201f71b5019eb4142ff20ce8efa877d30a
parent66fd877b13c7e7285ec607e4433efec3c2b2dd6a
btrfs: remove start field from struct btrfs_free_space_ctl

There's no need for the start field, we can take it from the block group.
This reduces the structure size from 152 bytes down to 144 bytes, so on
a 4K page system we can now fit 28 structures instead of 26.

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