]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
mkfs: deprecate the ascii-ci feature
authorDarrick J. Wong <djwong@kernel.org>
Mon, 5 Jun 2023 15:36:55 +0000 (08:36 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 22 Jun 2023 12:02:33 +0000 (14:02 +0200)
Deprecate this feature, since the feature is broken.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
man/man8/mkfs.xfs.8.in
mkfs/xfs_mkfs.c

index 6fc7708bc9408ff08b01cf3bd6b159217b2c64e2..01f9dc6e6e9d586d280a323fa8c691a9a546f72b 100644 (file)
@@ -828,6 +828,7 @@ This transformation roughly corresponds to case insensitivity in ISO
 The transformations are not compatible with other encodings (e.g. UTF8).
 Do not enable this feature unless your entire environment has been coerced
 to ISO 8859-1.
+This feature is deprecated and will be removed in September 2030.
 .IP
 Note: Version 1 directories are not supported.
 .TP
index 2f2995e13e3ff761f1657e9bdcd831060dac13b3..d3a15cf44e0029be66c8896bf7061a51b9c284c3 100644 (file)
@@ -2150,6 +2150,17 @@ validate_sb_features(
        struct mkfs_params      *cfg,
        struct cli_params       *cli)
 {
+       if (cli->sb_feat.nci) {
+               /*
+                * The ascii-ci feature is deprecated in the upstream Linux
+                * kernel.  In September 2025 it will be turned off by default
+                * in the kernel and in September 2030 support will be removed
+                * entirely.
+                */
+               fprintf(stdout,
+_("ascii-ci filesystems are deprecated and will not be supported by future versions.\n"));
+       }
+
        /*
         * Now we have blocks and sector sizes set up, check parameters that are
         * no longer optional for CRC enabled filesystems.  Catch them up front