1. 27 10月, 2017 1 次提交
    • D
      xfs: probe the scrub ioctl · dcb660f9
      Darrick J. Wong 提交于
      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: NDarrick J. Wong <darrick.wong@oracle.com>
      Reviewed-by: NDave Chinner <dchinner@redhat.com>
      dcb660f9