]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add frextents to the lazysbcounters when rtgroups enabled
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:01 +0000 (14:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:46:50 +0000 (18:46 -0700)
commit978bdae628b67a0920ebacbb48efe803dffecfb9
treeafbea2893a6424841896021aee0684fc8067d3b8
parentc065855c91c36d32bfa18661caca218bf788a1f8
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>
include/xfs_mount.h
libxfs/xfs_sb.c