]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: hide reserved RT blocks from statfs
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Dec 2024 07:14:42 +0000 (08:14 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:17:08 +0000 (08:17 -0700)
commit55ef6e7a401fd748b5e879706b02083dc6eb0846
treefabab4b7182a0e9ca70577ee70009fb09e5cb45b
parent859b692711c66c9a8eb757ca708978f081e809e3
xfs: hide reserved RT blocks from statfs

File systems with a zoned RT device have a large number of reserved
blocks that are required for garbage collection, and which can't be
filled with user data.  Exclude them from the available blocks reported
through stat(v)fs.

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