xfs_repair: fix discontiguous directory block
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libxfs: add a flags field to libxfs_getbuf_mapinclude/ libxfs/ libxfs/ | +15 | 1 reply | |
| 2/3 | libxfs: remove map from libxfs_readbufr_mapdb/ include/ libxfs/ | +4 | 2 replies | |
| 3/3 | repair: fix discontiguous directory block supportrepair/ | +100 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Brian Foster |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] xfs_repair: fix discontiguous directory block
Hi folks,
This series fixes up one of the problems that was causing xfs/291 to fail on crc enabled filesystems. basically CRCs were failing on directory buffers because they weren't being treated as a discontiguous buffer correctly by prefetch and hence CRCs were only eve calculated over a portion of the directory block. Hence it threw lots of errors. Non CRC filesystems threw the same badness on lookup errors, but repair managed to rebuild the directory buffers sufficiently for things to work.
Anyway, this patchset fixes the xfs_repair prefetch code to handle discontiguous buffers and so avoid all the noise that was being generated and the errors that were being triggered on CRC filesystems.
This does no make xfs/291 pass on CRC filesystems. Making xfs_reapir work has pointed out that metadump's handling of multi-block directory buffers on CRC enable filesystems also appears to be broken. Fixing that is another patchset, however.
Cheers,
Dave.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs