summaryrefslogtreecommitdiff
tag namereserve-rt-metadata-space_2021-10-22 (934fadd041af269067a3d5d4890e9318a9fdca59)
tag date2021-10-22 16:45:31 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 0548a5ad7b...
xfs: enable in-core block reservation for rt metadata
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 effectively allows 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. -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmFzTRsACgkQ+H93GTRK tOvyShAAg4edoVJviMO8X4rR+5gDAm+H2j5CxfqbitUm6cAzZHIoBiGpxX9GTuYT qaJ0o4XeTxLFJrXxdgx3KoqlTcAFm6lD4nAiUIiS3bFVXAh1rhsZFVz0yI6DOtB3 DLl9N5F/i98hkbLw/C9vrPPjNQAEcSsC18BjnIJAzybwqt8X6fSVYjby1DACkull Tk2BTLuBZxVC9RRGEk9DZdX9FKYBV0FZMOgei02qCitYuo+9guvEkw0oMMq7v/tR AbbNZCBXGiBpm4u5B+Ya6smZJ6pEDSwzuJwzogJBkSDZ60uQYN3ufE7vEIWbkWwK o5Y1vwd+Ds3tVmoyhYMy4V+bFGMKGuLfg/YekWmcbFjq0VM+X07CUBVnoKRi1/L9 yyoF9LmKrIS9toAUzrl0irKi3p2Z1Q1zvmpz+PJMW8jCDw/e24h+rCKrZ3GDQDsl xeWRLBDdUMFQRkZnDn/fhCurIhFw6hxDeAlEEDBzcB0fAFvG3gxPoOxbdKs9UTp6 MhRLcPWGO3cAOY+nI28hsqwHJed16CfNlk+OBJpid4VyCMILzwtZopIvbt6q73r7 snmWWiKP4Z485w2tdCQJVv8YzMTFzlKpbgcyw/6sqhLYHhrq6K2USmmAWRocgOEa uyrfPuc8vTAUJkklq4K21t4OBxNmsAfN61ZSKeyxEDsFPgKjHBg= =a0c4 -----END PGP SIGNATURE-----