mbox series

[0/2] Convert btrfs_root::delayed_nodes_tree to xarray

Message ID cover.1701384168.git.dsterba@suse.com (mailing list archive)
Headers show
Series Convert btrfs_root::delayed_nodes_tree to xarray | expand

Message

David Sterba Nov. 30, 2023, 10:49 p.m. UTC
This restarts the radix-tree to xarray conversion that we had to revert.
There are two more structures to convert, possibly with also spinlock to
mutex conversions needed (buffer_radix and fs_roots_radix), but for the
buffer radix I don't want to do now as we have the folio conversion
ongoing. The fs_roots will most likely need the lock conversion so
that's a change that I want to take the whole dev cycle, planned for 6.9.

David Sterba (2):
  btrfs: drop radix-tree preload from btrfs_get_or_create_delayed_node()
  btrfs: use xarray for btrfs_root::delayed_nodes_tree instead of
    radix-tree

 fs/btrfs/ctree.h         |  6 +--
 fs/btrfs/delayed-inode.c | 86 +++++++++++++++++++---------------------
 fs/btrfs/disk-io.c       |  3 +-
 fs/btrfs/inode.c         |  2 +-
 4 files changed, 47 insertions(+), 50 deletions(-)