Re: [PATCH 5/7] xfs: implement block reservation accounting for btrees we're staging

Christoph Hellwig
2023-11-28T05:41:29Z

On Mon, Nov 27, 2023 at 02:34:51PM -0800, Darrick J. Wong wrote:
> That had a noticeable effect on performance straight after mounting
> because touching /any/ btree would result in splits. IIRC Dave and I
> decided that repair should generate btree blocks that were 75% full
> unless space was tight. We defined tight as ~10% free to avoid repair
> failures and settled on 3/32 to avoid div64.
>
> IOWs, we mostly pulled it out of thin air. ;)

Maybe throw a little comment about this in.