[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <93c2e9a0-f374-4211-b4a0-06c716e7d950@suse.cz>
Date: Wed, 15 Oct 2025 10:07:54 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: "Darrick J. Wong" <djwong@...nel.org>, Carlos Maiolino <cem@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-xfs@...r.kernel.org,
Oleksandr Natalenko <oleksandr@...alenko.name>,
Pavel Reichl <preichl@...hat.com>, Thorsten Leemhuis <linux@...mhuis.info>
Subject: Re: [PATCH v2 3/3] xfs: quietly ignore deprecated mount options
On 10/15/25 07:04, Darrick J. Wong wrote:
> static const struct fs_parameter_spec xfs_fs_parameters[] = {
> + /*
> + * These mount options were supposed to be deprecated in September 2025
> + * but the deprecation warning was buggy, so not all users were
> + * notified. The deprecation is now obnoxiously loud and postponed to
> + * September 2030.
> + */
FWIW, this seems at odds with the subject "quietly ignore" ;)
"loudly ignore"? ;)
"warn about but otherwise ignore"?
Also there's maybe a difference of ignoring "attr2" because it's enabled
anyway, and ignoring "noattr2" because it's going to be enabled regardless.
AFAIK prior to b9a176e54162f8 "noattr2" still prevented the enabling? But
maybe it's not important. (I don't know how (no)ikeep works.)
Hypothetically someone might complaing after taking a disk out of very old
system without attr2, booting it on 6.18 that will enable attr2, and not
being able to use it again in the old system. (Funnily enough similar issue
recently happened to me with btrfs from Turris 1.0 router's microSD). But
maybe there are other things besides attr2 that can cause it anyway.
Anyway I think even in 2030 it will be the best to just keep warning instead
of refusing to mount.
> + fsparam_dead("attr2"),
> + fsparam_dead("noattr2"),
> + fsparam_dead("ikeep"),
> + fsparam_dead("noikeep"),
> +
> fsparam_u32("logbufs", Opt_logbufs),
> fsparam_string("logbsize", Opt_logbsize),
> fsparam_string("logdev", Opt_logdev),
> @@ -1417,6 +1431,9 @@ xfs_fs_parse_param(
> return opt;
>
> switch (opt) {
> + case Op_deprecated:
> + xfs_fs_warn_deprecated(fc, param);
> + return 0;
> case Opt_logbufs:
> parsing_mp->m_logbufs = result.uint_32;
> return 0;
> @@ -1537,7 +1554,6 @@ xfs_fs_parse_param(
> xfs_mount_set_dax_mode(parsing_mp, result.uint_32);
> return 0;
> #endif
> - /* Following mount options will be removed in September 2025 */
> case Opt_max_open_zones:
> parsing_mp->m_max_open_zones = result.uint_32;
> return 0;
Powered by blists - more mailing lists