Skip to content

implement truncation for RAID stripe-extents

Johannes Thumshirn linux-btrfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 4 repliesIn review
  2. v42 patches 4 repliesSuperseded
  3. v32 patches 3 repliesSuperseded

Changes to v4 from the cover letter

- Use btrfs_set_item_key_save() instead of duplicate item (Filipe)
- Add forgotten btrfs_put_bioc() in selftests (Filipe)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: implement partial deletion of RAID stripe extentsfs/btrfs/raid-stripe-tree.c+74 -71 reply
2/2btrfs: implement self-tests for partial RAID srtipe-tree deletefs/btrfs/tests/raid-stripe-tree-tests.c+224 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFilipe Manana
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] implement truncation for RAID stripe-extents

Implement truncation of RAID stripe-tree entries and add selftests for these two edge cases of deletion to the RAID stripe-tree selftests.

Changes to v4:
- Use btrfs_set_item_key_save() instead of duplicate item (Filipe)
- Add forgotten btrfs_put_bioc() in selftests (Filipe)

Link to v4:
https://lore.kernel.org/linux-btrfs/[email protected]

Changes to v3:
- Use btrfs_duplicate_item() (Filipe)
- User key.offset = 0 in btrfs_search_slot() so we can find "front" delete Link to v3:
https://lore.kernel.org/linux-btrfs/[email protected]

Changes to v2:
- Correctly adjust the btree keys and insert new items instead (Filipe)
- Add selftests

Link to v2:
https://lore.kernel.org/linux-btrfs/[email protected]

Johannes Thumshirn (2):
btrfs: implement partial deletion of RAID stripe extents
btrfs: implement self-tests for partial RAID srtipe-tree delete

 fs/btrfs/raid-stripe-tree.c             |  81 ++++++++-
 fs/btrfs/tests/raid-stripe-tree-tests.c | 224 ++++++++++++++++++++++++
 2 files changed, 298 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0