btrfs: fixes for commit 947a629988f1 ("btrfs: move tree block parentness check into validate_extent_buffer()")
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: add error message for metadata level mismatchfs/ | +4 | 0 replies | |
| 2/2 | btrfs: fix the false alert on bad tree levelfs/ | +26 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Mikhail Gavrilov |
|---|---|
| 1/2 | |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: fixes for commit 947a629988f1 ("btrfs: move tree block parentness check into validate_extent_buffer()")
There is a regression report from Mikhail that his btrfs RAID0 fs randomly flips to RO after commit 947a629988f1.
It turns out that, the offending commit can not handle tree blocks crossing stripe boundary.
Although tree blocks crossing stripe boundary is not an ideal situation, we should still be able to correctly handle it.
This patchset firstly adds the missing level mismatch error message, then fix the offending commit.
Qu Wenruo (2):
btrfs: add error message for metadata level mismatch
btrfs: fix the false alert on bad tree level
fs/btrfs/disk-io.c | 4 ++++ fs/btrfs/extent_io.c | 31 ++++++++++++++++++++++++++----- 2 files changed, 30 insertions(+), 5 deletions(-)
Signature · 1 line
2.39.0