]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: realtime refcount btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:48 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:10 +0000 (13:06 -0800)
commit2003c6a8754e307970c101a20baf8fb67d0588f2
tree83f8c10ddda38cfd764332130521610feddc04a3
parent9abe03a0e4f978615a2b1b484b8d09ca84c16ea0
xfs: realtime refcount 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 rtrefcountbt to add the record and a second
split in the regular refcountbt to record the rtrefcountbt split.

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