]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: get rid of extent_io_tree::dirty_bytes
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Sep 2022 21:53:45 +0000 (17:53 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:05 +0000 (12:28 +0200)
commit5418c7bdf679801cfe6bb5a23429d95b4a6b32d6
tree2c17931732f3b2d3b39cb3bec962fbd7c18147ed
parent65da4729515043f44f434a0e0b26d49263518471
btrfs: get rid of extent_io_tree::dirty_bytes

This was used as an optimization for count_range_bits(EXTENT_DIRTY),
which was used by the failed record code.  However this was removed in
this series by patch "btrfs: convert the io_failure_tree to a plain
rb_tree" which was the last user of this optimization.  Remove the
->dirty_bytes as nobody cares anymore.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-io-tree.c
fs/btrfs/extent-io-tree.h