]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: scrub each rtgroup's portion of the rtbitmap separately
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:04 +0000 (14:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:46:51 +0000 (18:46 -0700)
commite99b0e9f91b51e1bdde347529cf35aa559d80b2b
tree063cdde437c5bd81dc7931bdaec801ea7b4e8e67
parent3612e10cdb613670d2bb96fd69cd2215963b3d4d
xfs: scrub each rtgroup's portion of the rtbitmap separately

Create a new scrub type code so that userspace can scrub each rtgroup's
portion of the rtbitmap file separately.  This reduces the long tail
latency that results from scanning the entire bitmap all at once, and
prepares us for future patchsets, wherein we'll need to be able to lock
a specific rtgroup so that we can rebuild that rtgroup's part of the
rtbitmap contents from the rtgroup's rmap btree.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libfrog/scrub.c
libxfs/xfs_fs.h
libxfs/xfs_health.h
man/man2/ioctl_xfs_scrub_metadata.2