linux/fs/xfs/scrub
Christoph Hellwig b2197a36c0 xfs: remove XFS_IFEXTENTS
The in-memory XFS_IFEXTENTS is now only used to check if an inode with
extents still needs the extents to be read into memory before doing
operations that need the extent map.  Add a new xfs_need_iread_extents
helper that returns true for btree format forks that do not have any
entries in the in-memory extent btree, and use that instead of checking
the XFS_IFEXTENTS flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
2021-04-15 09:35:51 -07:00
..
agheader_repair.c xfs: remove unneeded return value check for *init_cursor() 2020-12-09 09:49:38 -08:00
agheader.c xfs: remove return value from xchk_ag_btcur_init 2021-03-25 16:47:50 -07:00
alloc.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
attr.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
attr.h xfs: only allocate memory for scrubbing attributes when we need it 2019-07-05 10:29:56 -07:00
bitmap.c xfs: replace open-coded bitmap weight logic 2020-03-18 08:12:23 -07:00
bitmap.h xfs: replace open-coded bitmap weight logic 2020-03-18 08:12:23 -07:00
bmap.c xfs: remove XFS_IFEXTENTS 2021-04-15 09:35:51 -07:00
btree.c xfs: scrub: Disable check for unoptimized data fork bmbt node 2021-04-07 14:37:06 -07:00
btree.h xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
common.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
common.h xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
dabtree.c xfs: check dabtree node hash values when loading child blocks 2020-09-23 08:58:51 -07:00
dabtree.h xfs: refactor btree node scrubbing 2019-11-10 16:54:19 -08:00
dir.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
fscounters.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
health.c xfs: mark a data structure sick if there are cross-referencing errors 2021-03-25 16:47:49 -07:00
health.h xfs: scrub should only cross-reference with healthy btrees 2019-04-16 10:01:57 -07:00
ialloc.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
inode.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
parent.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
quota.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
refcount.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
repair.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
repair.h xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
rmap.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
rtbitmap.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
scrub.c xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
scrub.h xfs: get rid of the ip parameter to xchk_setup_* 2021-04-09 10:27:18 -07:00
symlink.c xfs: remove XFS_IFINLINE 2021-04-15 09:35:51 -07:00
trace.c xfs: convert btree cursor inode-private member names 2020-03-13 10:37:14 -07:00
trace.h xfs: convert btree cursor inode-private member names 2020-03-13 10:37:14 -07:00
xfs_scrub.h xfs: fix scrub and remount-ro protection when running scrub 2021-04-09 10:27:13 -07:00