hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/fs/xfs/Kconfig
....@@ -1,7 +1,7 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config XFS_FS
23 tristate "XFS filesystem support"
34 depends on BLOCK
4
- depends on (64BIT || LBDAF)
55 select EXPORTFS
66 select LIBCRC32C
77 select FS_IOMAP
....@@ -22,6 +22,31 @@
2222 system of your root partition is compiled as a module, you'll need
2323 to use an initial ramdisk (initrd) to boot.
2424
25
+config XFS_SUPPORT_V4
26
+ bool "Support deprecated V4 (crc=0) format"
27
+ depends on XFS_FS
28
+ default y
29
+ help
30
+ The V4 filesystem format lacks certain features that are supported
31
+ by the V5 format, such as metadata checksumming, strengthened
32
+ metadata verification, and the ability to store timestamps past the
33
+ year 2038. Because of this, the V4 format is deprecated. All users
34
+ should upgrade by backing up their files, reformatting, and restoring
35
+ from the backup.
36
+
37
+ Administrators and users can detect a V4 filesystem by running
38
+ xfs_info against a filesystem mountpoint and checking for a string
39
+ beginning with "crc=". If the string "crc=0" is found, the
40
+ filesystem is a V4 filesystem. If no such string is found, please
41
+ upgrade xfsprogs to the latest version and try again.
42
+
43
+ This option will become default N in September 2025. Support for the
44
+ V4 format will be removed entirely in September 2030. Distributors
45
+ can say N here to withdraw support earlier.
46
+
47
+ To continue supporting the old V4 format (crc=0), say Y.
48
+ To close off an attack surface, say N.
49
+
2550 config XFS_QUOTA
2651 bool "XFS Quota support"
2752 depends on XFS_FS