]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: realtime refcount btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Mon, 23 Sep 2024 20:42:24 +0000 (13:42 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 13:55:48 +0000 (15:55 +0200)
commit9ddd606a5f65874e0009ca01a5663ff680b3e531
treec679d2302bc3ffa9676e0ff893668d3d3bed2e85
parentf22f11371218a0d630e4e62f6116c72f7970a42b
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>
fs/xfs/libxfs/xfs_trans_resv.c