]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.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>
Tue, 24 Dec 2024 02:01:30 +0000 (18:01 -0800)
commit6fae9d99d9c813ac11deb36ae91221d0594c1e33
tree1fd027e0fa343b6a9e0d008a3649257e1a59542c
parent15fb060e4e9b1104dd69702e1a5a24006b926ed8
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