diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-17 21:37:46 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-26 15:38:26 -0700 |
commit | 29b0767b8beb4c5e3fd94656d51413a4fe8d2d74 (patch) | |
tree | 0a1ceb60fe3073bae58d052f3a998b4095f668d0 /fs/xfs/scrub/scrub.c | |
parent | 0f28b25731f76feda1ec71671754a2b7179ee1ef (diff) |
xfs: scrub realtime bitmap/summary
Perform simple tests of the realtime bitmap and summary.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/scrub.c')
-rw-r--r-- | fs/xfs/scrub/scrub.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index e9c6635f7d5a..7fd5e926e99c 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -247,6 +247,16 @@ static const struct xfs_scrub_meta_ops meta_scrub_ops[] = { .setup = xfs_scrub_setup_parent, .scrub = xfs_scrub_parent, }, + { /* realtime bitmap */ + .setup = xfs_scrub_setup_rt, + .scrub = xfs_scrub_rtbitmap, + .has = xfs_sb_version_hasrealtime, + }, + { /* realtime summary */ + .setup = xfs_scrub_setup_rt, + .scrub = xfs_scrub_rtsummary, + .has = xfs_sb_version_hasrealtime, + }, }; /* This isn't a stable feature, warn once per day. */ |