.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | config XFS_FS |
---|
2 | 3 | tristate "XFS filesystem support" |
---|
3 | 4 | depends on BLOCK |
---|
4 | | - depends on (64BIT || LBDAF) |
---|
5 | 5 | select EXPORTFS |
---|
6 | 6 | select LIBCRC32C |
---|
7 | 7 | select FS_IOMAP |
---|
.. | .. |
---|
22 | 22 | system of your root partition is compiled as a module, you'll need |
---|
23 | 23 | to use an initial ramdisk (initrd) to boot. |
---|
24 | 24 | |
---|
| 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 | + |
---|
25 | 50 | config XFS_QUOTA |
---|
26 | 51 | bool "XFS Quota support" |
---|
27 | 52 | depends on XFS_FS |
---|