]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: realtime rmap btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Tue, 9 Jan 2024 17:43:43 +0000 (09:43 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 10 Apr 2024 00:21:43 +0000 (17:21 -0700)
commit0e763e62b0800af3cc00d69640053692d25a12d2
tree778b472459705cb381b54e13f9b13ccc5848e120
parentd1a6c272a5bfdad244be18119b3938d182204d00
xfs: realtime rmap 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 rtrmapbt to add the record and a second
split in the regular rmapbt to record the rtrmapbt split.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_exchmaps.c
libxfs/xfs_trans_resv.c
libxfs/xfs_trans_space.h