]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: realtime refcount btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:21:51 +0000 (10:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:15:58 +0000 (09:15 -0800)
commit4e596f98de07d0591efa352b2d384102247fd133
tree94ff66e2058aeea7ef2b1d1c569c5301d3e1772e
parent4b7bd0810c9264eba8ea64040a1a7ce03ebb5089
xfs: realtime refcount btree transaction reservations

Source kernel commit: 2003c6a8754e307970c101a20baf8fb67d0588f2

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>
libxfs/xfs_trans_resv.c