]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: realtime refcount btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:40:14 +0000 (12:40 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:28 +0000 (13:36 -0800)
commit88729eeffb7d66f86f7eb83ec93e29f6f3dd54d1
tree3d413b8de71171ffd8d84b4041e59a0c0bcff5c3
parent89310d3f5f08da3ff53c35cc4595d029472f2fa9
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