]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add frextents to the lazysbcounters when rtgroups enabled
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:22 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 28 Nov 2024 02:33:14 +0000 (18:33 -0800)
commitad4fbcc8ec700caaed7f69bc6e88554e95d3fac8
tree618d80094bc2fb35f21b94bdd65c45a750b5287f
parent908cf00e28ed4b27d2490694c7309c3fec182e4f
xfs: add frextents to the lazysbcounters when rtgroups enabled

Source kernel commit: 35537f25d23697716f0070ea0a6e8b3f1fe10196

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