diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-17 21:37:34 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-26 15:38:23 -0700 |
commit | 36fd6e863cb7329ab2e5687fdae4e4626b840adc (patch) | |
tree | 951985ea1ff0da802cf28e472fe09412620dc0d5 /fs/xfs/Kconfig | |
parent | 91fb9afc0847926ef6ea7695b8125c8fbe7974d6 (diff) | |
download | linux-stable-36fd6e863cb7329ab2e5687fdae4e4626b840adc.tar.gz linux-stable-36fd6e863cb7329ab2e5687fdae4e4626b840adc.tar.bz2 linux-stable-36fd6e863cb7329ab2e5687fdae4e4626b840adc.zip |
xfs: create an ioctl to scrub AG metadata
Create an ioctl that can be used to scrub internal filesystem metadata.
The new ioctl takes the metadata type, an (optional) AG number, an
(optional) inode number and generation, and a flags argument. This will
be used by the upcoming XFS online scrub tool.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/Kconfig')
-rw-r--r-- | fs/xfs/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/xfs/Kconfig b/fs/xfs/Kconfig index 1b98cfa342ab..f42fcf1b5465 100644 --- a/fs/xfs/Kconfig +++ b/fs/xfs/Kconfig @@ -71,6 +71,23 @@ config XFS_RT If unsure, say N. +config XFS_ONLINE_SCRUB + bool "XFS online metadata check support" + default n + depends on XFS_FS + help + If you say Y here you will be able to check metadata on a + mounted XFS filesystem. This feature is intended to reduce + filesystem downtime by supplementing xfs_repair. The key + advantage here is to look for problems proactively so that + they can be dealt with in a controlled manner. + + This feature is considered EXPERIMENTAL. Use with caution! + + See the xfs_scrub man page in section 8 for additional information. + + If unsure, say N. + config XFS_WARN bool "XFS Verbose Warnings" depends on XFS_FS && !XFS_DEBUG |