summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub/rtbitmap.c
Commit message (Collapse)AuthorAgeFilesLines
* xfs: move all scrub input checking to xfs_scrub_validateEric Sandeen2018-01-081-10/+2
| | | | | | | | | | | | | | There were ad-hoc checks for some scrub types but not others; mark each scrub type with ... it's type, and use that to validate the allowed and/or required input fields. Moving these checks out of xfs_scrub_setup_ag_header makes it a thin wrapper, so unwrap it in the process. Signed-off-by: Eric Sandeen <sandeen@redhat.com> [darrick: add xfs_ prefix to enum, check scrub args after checking type] Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
* xfs: scrub realtime bitmap/summaryDarrick J. Wong2017-10-261-0/+108
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>
OpenPOWER on IntegriCloud