mbox series

[v4,0/3] xfs-4.20: scrub fixes

Message ID 153905876877.10127.12478254551500076698.stgit@magnolia (mailing list archive)
Headers show
Series xfs-4.20: scrub fixes | expand

Message

Darrick J. Wong Oct. 9, 2018, 4:19 a.m. UTC
Hi all,

Here are a few online fsck fixes for 4.20.

The first patch fixes the online repair "find AG btree root" function to
ignore btree blocks that have siblings and to ignore a btree level if
multiple sibling-less blocks are found.

The second patch strengthens the buffer read functions to apply buffer
ops (and verify the buffer contents) any time a caller tries to read a
buffer with a given set of ops and the buffer doesn't have ops yet.

The third patch fixes some buffer state management bugs so that we
don't accidentally clobber b_ops on buffers that were already in-core
when we try to find an AG header's btree root blocks.

Comments and questions are, as always, welcome.

--D