btrfs: convert the buffer_radix to an xarray
authorJosef Bacik <josef@toxicpanda.com>
Mon, 28 Apr 2025 14:52:55 +0000 (10:52 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:50 +0000 (14:30 +0200)
commit19d7f65f032f898df8c164d378be502901772eb7
tree6f8466e8831628db9bd323dcecbd6bce2f9fd126
parent656e9f51de3a02eb708c384d4d0152cfb969ea8b
btrfs: convert the buffer_radix to an xarray

In order to fully utilize xarray tagging to improve writeback we need to
convert the buffer_radix to a proper xarray.  This conversion is
relatively straightforward as the radix code uses the xarray underneath.
Using xarray directly allows for quite a lot less code.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
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/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/fs.h
fs/btrfs/tests/btrfs-tests.c
fs/btrfs/zoned.c