xfs_db, xfs_repair: improve CRC error detection
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest9 patches 10 repliesIn review
- v29 patches 6 repliesSuperseded
- v19 patches 24 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | db: don't claim unchecked CRCs are correctdb/ db/ db/ +1 more | +26 | 0 replies | |
| 2/9 | db: verify buffer on type changedb/ db/ db/ | +30 | 0 replies | |
| 3/9 | repair: ensure prefetched buffers have CRCs validatedinclude/ libxfs/ repair/ | +48 | 2 replies | |
| 4/9 | repair: detect and correct CRC errors in directory blocksrepair/ | +75 | 0 replies | |
| 5/9 | repair: detect CRC errors in AG headersrepair/ | +49 | 3 replies | |
| 6/9 | repair: report AG btree verifier errorsrepair/ | +24 | 0 replies | |
| 7/9 | repair: remove more dirv1 leftoversrepair/ repair/ | +0 | 0 replies | |
| 8/9 | repair: handle remote symlink CRC errorsrepair/ | +11 | 2 replies | |
| 9/9 | repair: detect and handle attribute tree CRC errorsrepair/ | +37 | 3 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Brian Foster |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | R-b |
| 4/9 | R-b | |
| 5/9 | R-b | |
| 6/9 | R-b | |
| 7/9 | R-b | |
| 8/9 | R-b | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9 v3] xfs_db, xfs_repair: improve CRC error detection
Hi folks,
This is the third version of the patchset originally posted here:
http://oss.sgi.com/archives/xfs/2014-04/msg00374.html
This version corrects the issues that Christoph commented on in the second version.
Version 3:
- factored out libxfs_readbuf_verify()
- LIBXFS_B_UNCHECKED flag setting/clearing cleaned up
- cleaned up dirty checks on AG header scan
- cleaned up error path goto stack on AG header scan
- added no_modify check to remote symlink buffer bad CRC rewrite.
Version 2:
- move LIBXFS_B_UNCHECKED to the correct patch (patch 1)
- set_cur_iotype assumes a valid type (patch 2)
- comments added to explain the way LIBXFS_B_UNCHECKED and dirty buffers are supposed to interact (patch 3)
- fixed comment flow and added separate "crc_error" return variable to dir_read_buf() (patch 4)
- reworked CRC error handling of AG headers (patch 5)
- readded missing dirty/no_modify assert (patch 6)
- fixed typos (patch 8)
- fixed "repair" variable initialisation flow (patch 9)
- fixed dirty buffer accounting on the cursor to dirty the correct buffer on CRC errors, added some clarifying comments (patch 9)
Comments and testing welcome!
-Dave.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs