]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_repair: don't create block maps for data files
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:50 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:28 +0000 (14:06 -0700)
commit585a1f78971bd0559fb51505eddc4f67f3bcb49d
treebeacaf5eb5308aa221eadb22679149b38d4fa5fe
parent346ce6d57f96221d4be4d16ccaeefc4b5d2807c3
xfs_repair: don't create block maps for data files

Repair only queries inode block maps for inode forks that map filesystem
metadata.  IOWs, it only uses it for directories, quota files, symlinks,
and realtime space metadata.  It doesn't use it for regular files or
realtime files, so exclude its use for these files to reduce processing
times for heavily fragmented regular files.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
repair/dinode.c