]> 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, 7 Mar 2023 03:55:23 +0000 (19:55 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 22 Nov 2023 23:03:33 +0000 (15:03 -0800)
commit8530e011e3ea506e1e70d1ef1b8f512005bc4049
tree4c9c8e9982a33c86f2bb946523f5842b8dd24b5b
parentfa626d48f1eeddd71956dd53cd64dd3301420d5c
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