linux/fs/xfs/scrub
Darrick J. Wong dcb660f922 xfs: probe the scrub ioctl
Create a probe scrubber with id 0.  This will be used by xfs_scrub to
probe the kernel's abilities to scrub (and repair) the metadata.  We do
this by validating the ioctl inputs from userspace, preparing the
filesystem for a scrub (or a repair) operation, and immediately
returning to userspace.  Userspace can use the returned errno and
structure state to decide (in broad terms) if scrub/repair are
supported by the running kernel.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2017-10-26 15:38:23 -07:00
..
common.c xfs: probe the scrub ioctl 2017-10-26 15:38:23 -07:00
common.h xfs: probe the scrub ioctl 2017-10-26 15:38:23 -07:00
scrub.c xfs: probe the scrub ioctl 2017-10-26 15:38:23 -07:00
scrub.h xfs: probe the scrub ioctl 2017-10-26 15:38:23 -07:00
trace.c xfs: probe the scrub ioctl 2017-10-26 15:38:23 -07:00
trace.h
xfs_scrub.h