]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: support internal RT device
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2025 05:36:24 +0000 (07:36 +0200)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 29 Apr 2025 16:11:09 +0000 (18:11 +0200)
commit37591ef3f4f14c4c2dfa3c2ce321aeb21732dda2
tree745849f54dbecd5a95823170dff17f7b7bc91719
parente741e275e9f27e0e20598477e56a48979fc82675
xfs_scrub: support internal RT device

Handle the synthetic fmr_device values, and deal with the fact that
ctx->fsinfo.fs_rt is allowed to be non-NULL for internal RT devices as
it is the same as the data device in this case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
scrub/phase1.c
scrub/phase6.c
scrub/phase7.c
scrub/spacemap.c