]> www.infradead.org Git - users/hch/xfs.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 Feb 2025 04:49:08 +0000 (05:49 +0100)
commit72c48fafe7c284a7239ea592290d1859f8a2a103
tree1612b978c39e36415d5b42240e796963afc91f24
parentd94c7b3a25ad5051e461ea0293d56e16899e0091
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>
fs/xfs/libxfs/xfs_metafile.c