Skip to content

xfs_repair: fix discontiguous directory block

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libxfs: add a flags field to libxfs_getbuf_mapinclude/libxfs.h libxfs/rdwr.c libxfs/trans.c+15 -121 reply
2/3libxfs: remove map from libxfs_readbufr_mapdb/io.c include/libxfs.h libxfs/rdwr.c+4 -152 replies
3/3repair: fix discontiguous directory block supportrepair/prefetch.c+100 -212 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBrian Foster
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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