]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: support recovering rmap intent items targetting realtime extents
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:25 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:05 +0000 (13:06 -0800)
commit5e0679d1c62f25f97b4f93121efe236fc4e768d2
tree7822cf385c1a69843dd7add7aebf9d2affcad3a2
parent9e823fc27419b09718fff74ae2297b25ae6fb317
xfs: support recovering rmap intent items targetting realtime extents

Now that we have rmap on the realtime device and rmap intent items that
target the realtime device, log recovery has to support remapping
extents on the realtime volume.  Make this work.  Identify rtrmapbt
blocks in the log correctly so that we can validate them during log
recovery.

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