summaryrefslogtreecommitdiff
path: root/fs/fs_pin.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-01-16 10:12:15 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-05-08 10:51:07 -0700
commit314d78be6773f9f51fe1f23c458e7af5cd4cfc14 (patch)
tree59841e68f2f1fb27f282f6b988858233ef73c9f9 /fs/fs_pin.c
parent89cfb12961d17c8891caf759edcad1b6a34b7149 (diff)
xfs: add online scrub for superblock counters
Teach online scrub how to check the filesystem summary counters. We use the incore delalloc block counter along with the incore AG headers to compute expected values for fdblocks, icount, and ifree, and then check that the percpu counter is within a certain threshold of the expected value. This is done to avoid having to freeze or otherwise lock the filesystem, which means that we're only checking that the counters are fairly close, not that they're exactly correct. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/fs_pin.c')
0 files changed, 0 insertions, 0 deletions