xfs: enable online fsck by default in Kconfig

Online fsck has been a part of upstream for over a year now without any
serious problems.  Turn it on by default in time for the 2025 LTS
kernel, and get rid of the "say N if unsure" messages for the default Y
options.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
This commit is contained in:
Darrick J. Wong 2025-08-27 09:31:59 -07:00
parent 21d59d0022
commit 0ff51a1fd7
1 changed files with 2 additions and 12 deletions

View File

@ -137,7 +137,7 @@ config XFS_BTREE_IN_MEM
config XFS_ONLINE_SCRUB config XFS_ONLINE_SCRUB
bool "XFS online metadata check support" bool "XFS online metadata check support"
default n default y
depends on XFS_FS depends on XFS_FS
depends on TMPFS && SHMEM depends on TMPFS && SHMEM
select XFS_LIVE_HOOKS select XFS_LIVE_HOOKS
@ -150,12 +150,8 @@ config XFS_ONLINE_SCRUB
advantage here is to look for problems proactively so that advantage here is to look for problems proactively so that
they can be dealt with in a controlled manner. 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. See the xfs_scrub man page in section 8 for additional information.
If unsure, say N.
config XFS_ONLINE_SCRUB_STATS config XFS_ONLINE_SCRUB_STATS
bool "XFS online metadata check usage data collection" bool "XFS online metadata check usage data collection"
default y default y
@ -171,11 +167,9 @@ config XFS_ONLINE_SCRUB_STATS
Usage data are collected in /sys/kernel/debug/xfs/scrub. Usage data are collected in /sys/kernel/debug/xfs/scrub.
If unsure, say N.
config XFS_ONLINE_REPAIR config XFS_ONLINE_REPAIR
bool "XFS online metadata repair support" bool "XFS online metadata repair support"
default n default y
depends on XFS_FS && XFS_ONLINE_SCRUB depends on XFS_FS && XFS_ONLINE_SCRUB
select XFS_BTREE_IN_MEM select XFS_BTREE_IN_MEM
help help
@ -186,12 +180,8 @@ config XFS_ONLINE_REPAIR
formatted with secondary metadata, such as reverse mappings and inode formatted with secondary metadata, such as reverse mappings and inode
parent pointers. parent pointers.
This feature is considered EXPERIMENTAL. Use with caution!
See the xfs_scrub man page in section 8 for additional information. See the xfs_scrub man page in section 8 for additional information.
If unsure, say N.
config XFS_WARN config XFS_WARN
bool "XFS Verbose Warnings" bool "XFS Verbose Warnings"
depends on XFS_FS && !XFS_DEBUG depends on XFS_FS && !XFS_DEBUG