]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: validate rt groups vs reported hardware zones
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2025 05:36:12 +0000 (07:36 +0200)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 29 Apr 2025 16:09:57 +0000 (18:09 +0200)
commitff6737fe5749b08e2afb3d9cb582068a74fbebc7
treea429a148f8d2c5bb8b020d0563fd3951968ac91f
parent049a4797a652e7edca6ddcf5009891603271fbe7
xfs_repair: validate rt groups vs reported hardware zones

Run a report zones ioctl, and verify the rt group state vs the
reported hardware zone state.  Note that there is no way to actually
fix up any discrepancies here, as that would be rather scary without
having transactions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
repair/Makefile
repair/phase5.c
repair/zoned.c [new file with mode: 0644]
repair/zoned.h [new file with mode: 0644]