]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add frextents to the lazysbcounters when rtgroups enabled
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:44:11 +0000 (12:44 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:50 +0000 (13:44 -0700)
commit80c63d7c182f4bf4f92dad4b136803844875daa4
tree4ce09edd4abae85dbb590a148cbc4ee1c3f2f69a
parent3a3b45d41e1147a0f550fe56158e3704a2b1de31
xfs: add frextents to the lazysbcounters when rtgroups enabled

Make the free rt extent count a part of the lazy sb counters when the
realtime groups feature is enabled.  This is possible because the patch
to recompute frextents from the rtbitmap during log recovery predates
the code adding rtgroup support, hence we know that the value will
always be correct during runtime.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/xfs_mount.h
libxfs/xfs_sb.c