]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: realtime refcount btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:44:42 +0000 (12:44 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 17 Oct 2024 17:33:17 +0000 (10:33 -0700)
commitaffec21e45f05dc0ce5e11c2e84c84fb7b392bbb
tree46a07b2b17b99c3696188ce6ac0c9af04cdbc43e
parent54aafb02d4af1168309fdb02eb5af79318d13b34
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>
libxfs/xfs_trans_resv.c