]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: implement live quotacheck inode scan
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:00:53 +0000 (10:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:36 +0000 (11:37 -0700)
commitf8dfc269d1524e8115576d957c29178eadd03fc6
treec60f6c82c4b62e20294947a79f0f1b3181babe35
parent8e5f0af69169103229f39d3b9788e324631c4be5
xfs: implement live quotacheck inode scan

Source kernel commit: 48dd9117a34fe9a34a6be0b1dba5694e0f19cbd4

Create a new trio of scrub functions to check quota counters.  While the
dquots themselves are filesystem metadata and should be checked early,
the dquot counter values are computed from other metadata and are
therefore summary counters.  We don't plug these into the scrub dispatch
just yet, because we still need to be able to watch quota updates while
doing our scan.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_fs.h