WSL2-Linux-Kernel/fs/xfs/scrub
Darrick J. Wong f36b954a1f xfs: check inode core when scrubbing metadata files
Metadata files (e.g. realtime bitmaps and quota files) do not show up in
the bulkstat output, which means that scrub-by-handle does not work;
they can only be checked through a specific scrub type.  Therefore, each
scrub type calls xchk_metadata_inode_forks to check the metadata for
whatever's in the file.

Unfortunately, that function doesn't actually check the inode record
itself.  Refactor the function a bit to make that happen.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2022-11-16 16:11:51 -08:00
..
agheader.c xfs: standardize GFP flags usage in online scrub 2022-11-16 15:25:01 -08:00
agheader_repair.c xfs: pivot online scrub away from kmem.[ch] 2022-11-16 15:25:02 -08:00
alloc.c xfs: create a predicate to verify per-AG extents 2022-10-31 08:58:20 -07:00
attr.c xfs: pivot online scrub away from kmem.[ch] 2022-11-16 15:25:02 -08:00
attr.h treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
bitmap.c xfs: pivot online scrub away from kmem.[ch] 2022-11-16 15:25:02 -08:00
bitmap.h xfs: replace open-coded bitmap weight logic 2020-03-18 08:12:23 -07:00
bmap.c xfs: teach scrub to flag non-extents format cow forks 2022-11-16 15:25:05 -08:00
btree.c xfs: pivot online scrub away from kmem.[ch] 2022-11-16 15:25:02 -08:00
btree.h xfs: dynamically allocate btree scrub context structure 2021-10-19 11:45:14 -07:00
common.c xfs: check inode core when scrubbing metadata files 2022-11-16 16:11:51 -08:00
common.h xfs: return EINTR when a fatal signal terminates scrub 2022-11-16 15:25:02 -08:00
dabtree.c xfs: pivot online scrub away from kmem.[ch] 2022-11-16 15:25:02 -08:00
dabtree.h xfs: refactor btree node scrubbing 2019-11-10 16:54:19 -08:00
dir.c xfs: fully initialize xfs_da_args in xchk_directory_blocks 2022-11-16 15:25:01 -08:00
fscounters.c xfs: online checking of the free rt extent count 2022-11-16 15:25:03 -08:00
health.c xfs: make is_log_ag() a first class helper 2022-07-07 19:13:21 +10:00
health.h xfs: scrub should only cross-reference with healthy btrees 2019-04-16 10:01:57 -07:00
ialloc.c xfs: create a predicate to verify per-AG extents 2022-10-31 08:58:20 -07:00
inode.c xfs: don't warn about files that are exactly s_maxbytes long 2022-11-16 16:11:51 -08:00
parent.c Change calling conventions for filldir_t 2022-08-17 17:25:04 -04:00
quota.c xfs: check quota files for unwritten extents 2022-11-16 15:25:04 -08:00
refcount.c xfs: pivot online scrub away from kmem.[ch] 2022-11-16 15:25:02 -08:00
repair.c xfs: don't return -EFSCORRUPTED from repair when resources cannot be grabbed 2022-11-16 15:25:03 -08:00
repair.h xfs: stricter btree height checking when scanning for btree roots 2021-10-14 09:19:32 -07:00
rmap.c xfs: Pre-calculate per-AG agbno geometry 2022-07-07 19:13:02 +10:00
rtbitmap.c xfs: pass explicit mount pointer to rtalloc query functions 2022-04-12 06:49:41 +10:00
scrub.c xfs: pivot online scrub away from kmem.[ch] 2022-11-16 15:25:02 -08:00
scrub.h xfs: online checking of the free rt extent count 2022-11-16 15:25:03 -08:00
symlink.c xfs: standardize GFP flags usage in online scrub 2022-11-16 15:25:01 -08:00
trace.c xfs: prepare xfs_btree_cur for dynamic cursor heights 2021-10-19 11:45:14 -07:00
trace.h xfs: prepare xfs_btree_cur for dynamic cursor heights 2021-10-19 11:45:14 -07:00
xfs_scrub.h xfs: fix scrub and remount-ro protection when running scrub 2021-04-09 10:27:13 -07:00