]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: realtime rmap btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:22 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:04 +0000 (13:06 -0800)
commite1c76fce50bb750dff236aa51a3b698de4f7132c
treee78ace77349a6e1f77a76170d8aca13e6ac60abb
parentfc6856c6ff08642e3e8437f0416d70a5e1807010
xfs: realtime rmap btree transaction reservations

Make sure that there's enough log reservation to handle mapping
and unmapping realtime extents.  We have to reserve enough space
to handle a split in the rtrmapbt to add the record and a second
split in the regular rmapbt to record the rtrmapbt split.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_exchmaps.c
fs/xfs/libxfs/xfs_trans_resv.c
fs/xfs/libxfs/xfs_trans_space.h