btrfs: RST scrub fixes for prealloc
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: return ENODATA in case RST lookup failsfs/ | +3 | 0 replies | |
| 2/2 | btrfs: scrub: skip initial RAID stripe-tree lookup errorsfs/ | +4 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Josef Bacik |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: RST scrub fixes for prealloc
From: Johannes Thumshirn <[email protected]>
When scrubbing a non-zoned RAID stripe tree filesystem, the RST specific scrub code finds false positives becuase preallocated extents are not backed by the stripe-tree and so the lookup failes.
These patches address the issue by a) changing RST lookup failures from ENOENT to ENODATA and b) skipping ENODATA on RST mapping errors from the scrub side.
This aproach was suggested by Josef in
https://lore.kernel.org/linux-btrfs/20240923152705.GB159452@perftesting/
Johannes Thumshirn (2):
btrfs: return ENODATA in case RST lookup fails
btrfs: scrub: skip initial RAID stripe-tree lookup errors
fs/btrfs/raid-stripe-tree.c | 6 +++--- fs/btrfs/scrub.c | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0