btrfs: fix relocation on RAID stripe-tree filesystems
Get series with b4
b4 am [email protected] change-id 20240726-debug-f1fe805ea37bVersions newest first
- v3 Latest5 patches 2 repliesIn review
- v25 patches 3 repliesSuperseded
- v14 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Re-base onto for-next with folio->page conversion applied.
- Collected reviews.
- Link to v2: https://lore.kernel.org/r/[email protected]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: don't dump stripe-tree on lookup errorfs/ | +0 | 0 replies | |
| 2/5 | btrfs: rename btrfs_io_stripe::is_scrub to rst_search_commit_rootfs/ fs/ fs/ +1 more | +5 | 0 replies | |
| 3/5 | btrfs: set rst_search_commit_root in case of relocationfs/ | +2 | 1 reply | |
| 4/5 | btrfs: don't readahead the relocation inode on RSTfs/ | +10 | 1 reply | |
| 5/5 | btrfs: change RST lookup error message to debugfs/ | +1 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Josef Bacik | Qu Wenruo |
|---|---|---|
| 1/5 | R-b | R-b |
| 2/5 | R-b | R-b |
| 3/5 | R-b | R-b |
| 4/5 | R-b | R-b |
| 5/5 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] btrfs: fix relocation on RAID stripe-tree filesystems
When doing relocation on RST backed filesystems, there is a possibility of a scatter-gather list corruption.
See patch 4 for details.
CI Link: https://github.com/btrfs/linux/actions/runs/10143804038
---
Changes in v3:
- Re-base onto for-next with folio->page conversion applied.
- Collected reviews.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Change RST lookup error message to debug
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Johannes Thumshirn (5):
btrfs: don't dump stripe-tree on lookup error
btrfs: rename btrfs_io_stripe::is_scrub to rst_search_commit_root
btrfs: set rst_search_commit_root in case of relocation
btrfs: don't readahead the relocation inode on RST
btrfs: change RST lookup error message to debug
fs/btrfs/bio.c | 3 ++- fs/btrfs/raid-stripe-tree.c | 8 +++----- fs/btrfs/relocation.c | 14 ++++++++++---- fs/btrfs/scrub.c | 2 +- fs/btrfs/volumes.h | 2 +- 5 files changed, 17 insertions(+), 12 deletions(-)
---
base-commit: 27d58e7d992b58ae7091270dc179e1dcbd6561f8
change-id: 20240726-debug-f1fe805ea37b
Best regards,
Signature · 1 line
Johannes Thumshirn <[email protected]>