mbox series

[GIT,PULL,7/7] xfs: scrub inode core when checking metadata files

Message ID 166865412295.2381691.4642355489538362759.stg-ugh@magnolia (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,1/7] xfs: fix handling of AG[IF] header buffers during scrub | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/scrub-check-metadata-inode-records-6.2_2022-11-16

Message

Darrick J. Wong Nov. 17, 2022, 3:15 a.m. UTC
Hi Darrick,

Please pull this branch with changes for xfs for 6.2-rc1.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.  Finally dug through the backlog of stg-ugh
related cruddities so that I can bring you all pull requests where the
participants all get cc'd, the revlists actually correspond to the
branches and tags that are autogenerated by the branch manager without
me having to do all that manually, etc.

--D

The following changes since commit 5eef46358fae1a6018d9f886a3ecd30e843728dd:

xfs: teach scrub to flag non-extents format cow forks (2022-11-16 15:25:05 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/scrub-check-metadata-inode-records-6.2_2022-11-16

for you to fetch changes up to f36b954a1f1bf06b5746fea7ecf0fa639ac65324:

xfs: check inode core when scrubbing metadata files (2022-11-16 16:11:51 -0800)

----------------------------------------------------------------
xfs: scrub inode core when checking metadata files

Running the online fsck QA fuzz tests, I noticed that we were
consistently missing fuzzed records in the inode cores of the realtime
freespace files and the quota files.  This patch adds the ability to
check inode cores in xchk_metadata_inode_forks.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
Darrick J. Wong (2):
xfs: don't warn about files that are exactly s_maxbytes long
xfs: check inode core when scrubbing metadata files

fs/xfs/scrub/common.c | 40 ++++++++++++++++++++++++++++++++++------
fs/xfs/scrub/inode.c  |  2 +-
2 files changed, 35 insertions(+), 7 deletions(-)