]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: realtime refcount btree transaction reservations
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Aug 2024 18:49:17 +0000 (11:49 -0700)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 08:48:20 +0000 (10:48 +0200)
commit31381ea9ddcbc56ddb92cabd3d9849e52b425ba2
treeb370d1f9643653671aaed6b5b45fc72d50b62ce2
parent6bf7e6902151e20d1aeafd3b3e1fb195fa14d478
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