btrfs: scrub: small enhancement related to super block errors
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: scrub: properly report super block errors in dmesgfs/ | +13 | 0 replies | |
| 2/2 | btrfs: scrub: try to fix super block errorsfs/ | +37 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs: scrub: small enhancement related to super block errors
Recently during a new test case to verify btrfs can handle a fully corrupted disk (but with a good primary super block), I found that scrub doesn't really try to repair super blocks.
And scrub doesn't report super block errors in dmesg either.
So this small patchset is to fix the problems by:
- Add explicit error messages for super block errors
- Try to fix super block errors by committing a transaction
Qu Wenruo (2):
btrfs: scrub: properly report super block errors in dmesg
btrfs: scrub: try to fix super block errors
fs/btrfs/scrub.c | 71 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 50 insertions(+), 21 deletions(-)
Signature · 1 line
2.37.0