All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ric Wheeler <ricwheeler@gmail.com>
To: Andreas Dilger <adilger@dilger.ca>
Cc: Lukas Czerner <lczerner@redhat.com>,
	linux-ext4@vger.kernel.org, tytso@mit.edu
Subject: Re: [PATCH] ext4: Remove some deprecated mount options
Date: Wed, 29 Jun 2011 09:55:34 +0100	[thread overview]
Message-ID: <4E0AE886.6060005@gmail.com> (raw)
In-Reply-To: <B9B585C1-330D-487B-9E1A-B55255377451@dilger.ca>

On 06/28/2011 05:35 PM, Andreas Dilger wrote:
> On 2011-06-28, at 9:53 AM, Lukas Czerner wrote:
>> Remove deprecated mount options bsddf, nogrpid, sysvgroups which has
>> been marked as deprecated since 2.6.23 and should be removed in 2.6.28.
>> However it is not a big deal because those are defaults anyway and the
>> options for setting their opposites still remains in kernel (however are
>> still deprecated). Also push the kernel version to remove those leftover
>> options further in time.
>>
>> diff --git a/fs/ext4/super.c b/fs/ext4/super.c
>> index 9ea71aa..a75320e 100644
>> --- a/fs/ext4/super.c
>> +++ b/fs/ext4/super.c
>> @@ -1486,24 +1483,13 @@ static int parse_options(char *options, struct super_block *sb,
>> 		args[0].to = args[0].from = NULL;
>> 		token = match_token(p, tokens, args);
>> 		switch (token) {
>> -		case Opt_bsd_df:
>> -			ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
>> -			clear_opt(sb, MINIX_DF);
>> -			break;
>> 		case Opt_minix_df:
>> -			ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
>> +			ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "3.5");
>> 			set_opt(sb, MINIX_DF);
>> -
>> 			break;
>> 		case Opt_grpid:
>> -			ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
>> +			ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "3.5");
>> 			set_opt(sb, GRPID);
>> -
>> -			break;
>> -		case Opt_nogrpid:
>> -			ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
>> -			clear_opt(sb, GRPID);
> One problem is that these options haven't been deprecated in major vendor
> releases (e.g. 2.6.32 for RHEL6 and SLES11), which is what most people are
> using.  I think that they should be deprecated for at least one major
> vendor release before being removed, otherwise it is nearly the same as just
> deleting them on some random kernel version without telling anyone.
>
> I'm not sure where you got "2.6.23" and "2.6.28" from, maybe you meant "2.6.33",
> which is unfortunately just after the cutoff for both RHEL6 and SLES11SP1.
>
>
> Cheers, Andreas
>

I am not sure that I follow the concern - people who use upstream follow that, 
people who use vendor kernels get some branched version of something old.

In fact, we try hard *not* to do things in RHEL kernels that are not upstream 
first. I would be perfectly happy to drop it upstream first and then deprecate 
it in a future RHEL release.

Thanks!

Ric

(and Lukas is *very* familiar with which kernel the ext4 code was lifted from :))


  reply	other threads:[~2011-06-29  8:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 15:53 [PATCH] ext4: Remove some deprecated mount options Lukas Czerner
2011-06-28 16:35 ` Andreas Dilger
2011-06-29  8:55   ` Ric Wheeler [this message]
2011-06-29 11:03     ` Lukas Czerner
2011-06-29 15:01       ` Eric Sandeen
2011-06-29 18:16         ` Andreas Dilger
2011-06-30  9:20           ` Lukas Czerner
2011-07-02  6:03           ` Ric Wheeler
2011-09-01  8:35 ` Lukas Czerner
2011-10-05 14:34   ` Lukas Czerner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E0AE886.6060005@gmail.com \
    --to=ricwheeler@gmail.com \
    --cc=adilger@dilger.ca \
    --cc=lczerner@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.