]> 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)
commit79ac13ed6fc27a44f34be1cd4443f566131dedb8
tree2c17931732f3b2d3b39cb3bec962fbd7c18147ed
parent802762e787e13259522b5d8cd434e1edb72ced36
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