]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: reduce metafile reservations
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Jan 2025 05:55:08 +0000 (06:55 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:16:43 +0000 (08:16 -0700)
commit272e20bb24dc895375ccc18a82596a7259b5a652
tree04477d21d4398d375f4c2b72838e2f9b6c7b0c6a
parent1df8d75030b787a9fae270b59b93eef809dd2011
xfs: reduce metafile reservations

There is no point in reserving more space than actually available
on the data device for the worst case scenario that is unlikely to
happen.  Reserve at most 1/4th of the data device blocks, which is
still a heuristic.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/libxfs/xfs_metafile.c