diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 10:44:32 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-09-17 18:54:51 -0700 |
commit | 940980c0abbf887a4c7a64cc5bfec3d036907b11 (patch) | |
tree | 95bfb26ef82b005b966e7fe24f7e2334383281a4 /fs/xfs/scrub/scrub.h | |
parent | 623ceec2324c375582b2b819a1b1daa5ea006ae7 (diff) |
xfs: implement online scrubbing of rtsummary infoscrub-rtsummary_2021-09-17
Finish the realtime summary scrubber by adding the functions we need to
compute a fresh copy of the rtsummary info and comparing it to the copy
on disk.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/scrub.h')
-rw-r--r-- | fs/xfs/scrub/scrub.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.h b/fs/xfs/scrub/scrub.h index 820de2121e5d..e04984ff97aa 100644 --- a/fs/xfs/scrub/scrub.h +++ b/fs/xfs/scrub/scrub.h @@ -69,7 +69,13 @@ struct xfs_scrub { */ struct xfs_inode *ip; + /* Kernel memory buffer used by scrubbers; freed at teardown. */ void *buf; + + /* xfile used by the scrubbers; freed at teardown. */ + struct xfile *xfile; + + /* Lock flags for @ip. */ uint ilock_flags; /* See the XCHK/XREP state flags below. */ |