mbox series

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

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

Message

Darrick J. Wong Oct. 5, 2018, 12:47 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