]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: realtime rmap btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Fri, 9 Aug 2024 11:56:30 +0000 (13:56 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 11 Aug 2024 06:35:54 +0000 (08:35 +0200)
commitd8f4ce6a2d7769496ce8fb634d42a1c6e179d3a7
tree8812ff5555ab48a0805cfe19d2eb3293dc289f20
parentc9d0c6b0519cf7b58606d029d019d78823bfcda2
xfs: realtime rmap btree transaction reservations

Source kernel commit: 2b08b631d6ad701ba6dda366fde4ae19cb66774a

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>
Signed-off-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_exchmaps.c
libxfs/xfs_trans_resv.c
libxfs/xfs_trans_space.h