diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-14 11:05:44 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-11-09 19:07:17 -0800 |
commit | d8bd4eaa81b6bcbd5294f7c1c0ad91906f2d3dbd (patch) | |
tree | 145b679ccaa1a1e7e84bb2dbed71a88e12da27c2 /fs/xfs/libxfs/xfs_attr_sf.h | |
parent | cde730a0dcc2db55292c6fb0a26fe2230266c75c (diff) |
xfs: convert xfs_ialloc_has_inodes_at_extent to return keyfill scan resultsscrub-detect-inobt-gaps_2022-11-09
Convert the xfs_ialloc_has_inodes_at_extent function to return keyfill
scan results because for a given range of inode numbers, we might have
no indexed inodes at all; the entire region might be allocated ondisk
inodes; or there might be a mix of the two.
Unfortunately, sparse inodes adds to the complexity, because each inode
record can have holes, which means that we cannot use the generic btree
_scan_keyfill function because we must look for holes in individual
records to decide the result. On the plus side, online fsck can now
detect sub-chunk discrepancies in the inobt.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr_sf.h')
0 files changed, 0 insertions, 0 deletions