aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-io-tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-09 17:53:45 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:05 +0200
commit71528e9e16c7ade3771f5ef9387673580cb2db38 (patch)
tree2c17931732f3b2d3b39cb3bec962fbd7c18147ed /fs/btrfs/extent-io-tree.h
parentbtrfs: remove extent_io_tree::track_uptodate (diff)
downloadlinux-dev-71528e9e16c7ade3771f5ef9387673580cb2db38.tar.xz
linux-dev-71528e9e16c7ade3771f5ef9387673580cb2db38.zip
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>
Diffstat (limited to 'fs/btrfs/extent-io-tree.h')
-rw-r--r--fs/btrfs/extent-io-tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/extent-io-tree.h b/fs/btrfs/extent-io-tree.h
index 1c24a489471b..913d83a2eee7 100644
--- a/fs/btrfs/extent-io-tree.h
+++ b/fs/btrfs/extent-io-tree.h
@@ -69,7 +69,6 @@ struct extent_io_tree {
struct rb_root state;
struct btrfs_fs_info *fs_info;
void *private_data;
- u64 dirty_bytes;
/* Who owns this io tree, should be one of IO_TREE_* */
u8 owner;