Skip to content

Commit 0ff51a1

Browse files
author
Darrick J. Wong
committed
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>
1 parent 21d59d0 commit 0ff51a1

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

fs/xfs/Kconfig

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ config XFS_BTREE_IN_MEM
137137

138138
config XFS_ONLINE_SCRUB
139139
bool "XFS online metadata check support"
140-
default n
140+
default y
141141
depends on XFS_FS
142142
depends on TMPFS && SHMEM
143143
select XFS_LIVE_HOOKS
@@ -150,12 +150,8 @@ config XFS_ONLINE_SCRUB
150150
advantage here is to look for problems proactively so that
151151
they can be dealt with in a controlled manner.
152152

153-
This feature is considered EXPERIMENTAL. Use with caution!
154-
155153
See the xfs_scrub man page in section 8 for additional information.
156154

157-
If unsure, say N.
158-
159155
config XFS_ONLINE_SCRUB_STATS
160156
bool "XFS online metadata check usage data collection"
161157
default y
@@ -171,11 +167,9 @@ config XFS_ONLINE_SCRUB_STATS
171167

172168
Usage data are collected in /sys/kernel/debug/xfs/scrub.
173169

174-
If unsure, say N.
175-
176170
config XFS_ONLINE_REPAIR
177171
bool "XFS online metadata repair support"
178-
default n
172+
default y
179173
depends on XFS_FS && XFS_ONLINE_SCRUB
180174
select XFS_BTREE_IN_MEM
181175
help
@@ -186,12 +180,8 @@ config XFS_ONLINE_REPAIR
186180
formatted with secondary metadata, such as reverse mappings and inode
187181
parent pointers.
188182

189-
This feature is considered EXPERIMENTAL. Use with caution!
190-
191183
See the xfs_scrub man page in section 8 for additional information.
192184

193-
If unsure, say N.
194-
195185
config XFS_WARN
196186
bool "XFS Verbose Warnings"
197187
depends on XFS_FS && !XFS_DEBUG

0 commit comments

Comments
 (0)