mbox series

[0/3] btrfs: rst: updates for RAID stripe tree

Message ID 20240610-b4-rst-updates-v1-0-179c1eec08f2@kernel.org (mailing list archive)
Headers show
Series btrfs: rst: updates for RAID stripe tree | expand

Message

Johannes Thumshirn June 10, 2024, 8:40 a.m. UTC
Three independent updates for RAID stripe tree.
The 1st one removes pointless space from the on-disk format. As the
feature itself is still experimental I'd like to get rid of that as early
as possible.

Patch 2 replaces stripe extents in case we hit a EEXIST when inserting a
stripe extent on a write. This can happen i.e. on device-replace.

Patch 3 splits a stripe extent on partial delete of a stripe.

---
Johannes Thumshirn (2):
      btrfs: rst: remove encoding field from stripe_extent
      btrfs: replace stripe extents

JohnnesThumshirn (1):
      btrfs: split RAID stripes on deletion

 fs/btrfs/accessors.h            |   3 -
 fs/btrfs/ctree.c                |   1 +
 fs/btrfs/print-tree.c           |   5 --
 fs/btrfs/raid-stripe-tree.c     | 148 ++++++++++++++++++++++++++++++----------
 fs/btrfs/raid-stripe-tree.h     |   3 +-
 fs/btrfs/tree-checker.c         |  19 ------
 include/uapi/linux/btrfs_tree.h |  14 +---
 7 files changed, 114 insertions(+), 79 deletions(-)
---
base-commit: e361635b966fca48f92263277ff38cd5a1971d39
change-id: 20240610-b4-rst-updates-d0aa696b9d5a

Best regards,