btrfs: reduce size and reorder compression members in struct btrfs_inode
authorDavid Sterba <dsterba@suse.com>
Thu, 7 Sep 2023 23:09:38 +0000 (01:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:04 +0000 (16:44 +0200)
commite41570d379b1dd6fe477a31b3b05191b6580f183
tree10d493fb07d5adc47aae610e96b2993d65d0376f
parent105c8c42141b7b1ed119cbb93a2930a05f5e681a
btrfs: reduce size and reorder compression members in struct btrfs_inode

Currently the compression type values are bounded and fit to an u8, we
can pack the btrfs_inode a bit by reordering them to the space created
by the location key. This reduces size from 1112 to 1104.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/btrfs_inode.h