]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge tag 'reserve-rt-metadata-space_2024-12-23' of https://git.kernel.org/pub/scm...
authorCarlos Maiolino <cem@kernel.org>
Mon, 13 Jan 2025 13:54:33 +0000 (14:54 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 13 Jan 2025 13:54:33 +0000 (14:54 +0100)
commit8a092f440e0326a74a008566fef794fc891bdeda
tree3f8911072d1f942212f71a309d38ef789dd92efe
parent9a2ce7254c1ee252c9c7aa2d7d71b45ee31c862a
parent05290bd5c6236b8ad659157edb36bd2d38f46d3e
Merge tag 'reserve-rt-metadata-space_2024-12-23' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into for-next

xfs: enable in-core block reservation for rt metadata [v6.2 03/14]

In preparation for adding reverse mapping and refcounting to the
realtime device, enhance the metadir code to reserve free space for
btree shape changes as delayed allocation blocks.

This enables us to pre-allocate space for the rmap and refcount btrees
in the same manner as we do for the data device counterparts, which is
how we avoid ENOSPC failures when space is low but we've already
committed to a COW operation.

This has been running on the djcloud for months with no problems.  Enjoy!

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>