diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-10-25 17:14:34 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-10-26 18:32:13 -0700 |
commit | 690c9cd100087e2f701fa97ac7a0c6e022c4cf9c (patch) | |
tree | 08a3ef74dda5e78876a61ea6b73fe099ddc65f2c /fs/xfs/scrub/scrub.h | |
parent | 640233539d47144ede56dc27666271554517a747 (diff) |
xfs: implement online scrubbing of rtsummary infoscrub-rtsummary_2020-10-26
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 <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/scrub/scrub.h')
-rw-r--r-- | fs/xfs/scrub/scrub.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.h b/fs/xfs/scrub/scrub.h index 5ad442c166e8..be41201cf6dd 100644 --- a/fs/xfs/scrub/scrub.h +++ b/fs/xfs/scrub/scrub.h @@ -60,7 +60,14 @@ struct xfs_scrub { const struct xchk_meta_ops *ops; struct xfs_trans *tp; 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. */ |