]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: online repair of realtime file bmaps
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:39 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:08 +0000 (13:06 -0800)
commitf1a6d9b4c3177bc344528a43143e39a598752a1a
tree26e3a96311d5aeaa4b61476035087823bc00109a
parent2e0629e17c311ad50863dac8fb18c62c94965244
xfs: online repair of realtime file bmaps

Now that we have a reverse-mapping index of the realtime device, we can
rebuild the data fork forward-mappings of any realtime file.  Enhance
the existing bmbt repair code to walk the rtrmap btrees to gather this
information.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/bmap_repair.c
fs/xfs/scrub/repair.c
fs/xfs/scrub/repair.h