On Mon, Dec 30, 2019 at 04:31:15PM -0500, Josef Bacik wrote:
> @@ -60,6 +60,11 @@ struct btrfs_inode {
> */
> struct extent_io_tree io_failure_tree;
>
> + /* keeps track of where we have extent items mapped in order to make
> + * sure our i_size adjustments are accurate.
> + */
> + struct extent_io_tree file_extent_tree;
This is not exactly lightweight and cut to the minimum needed, the size
is 40 bytes and contains struct members that are unused. At least the
file extents tree seems to be in use unlike that io_failure_tree wasting
the bytes almost 100% of time.