linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: Jeff Moyer <jmoyer@redhat.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>, Jim Garlick <garlick@llnl.gov>,
	"linux-fsdevel@vger.kernel.org >> linux-fsdevel"
	<linux-fsdevel@vger.kernel.org>, Sage Weil <sage@newdream.net>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Christoph Hellwig <hch@infradead.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 1/2] vfs: make real_lookup do dentry revalidation with
Date: Wed, 14 Oct 2009 10:57:45 +0800	[thread overview]
Message-ID: <4AD53E29.4070807@themaw.net> (raw)
In-Reply-To: <4AD538A4.9090609@themaw.net>

Ian Kent wrote:
> Jeff Moyer wrote:
>> Ian Kent <raven@themaw.net> writes:
>>> I still need to deal with the autofs module.
>>>
>>> I'm reluctant to remove it and do the rename at the same time the other
>>> changes are going in.
>>>
>>> I thought a better idea would be to leave the autofs module in place for
>>> the moment and change the Kconfig help message to describe what is going
>>> to happen and alert users to the fact it won't work and also change all
>>> the defconfig files that select autofs to select autofs4.
>>>
>>> Thoughts please?
>> I think it's safe to remove fs/autofs.  There's no sense in keeping
>> around code that doesn't work, and we don't really fix bugs in autofs3
>> anyway.  Heck, when was the last time you got a bug report for it?  I
>> haven't seen one in probably 5 years!
> 
> Agreed, that's not really the issue, the sort of things below are the worry.

Another thing that is a bit of a worry is, for the reasons above, we
haven't actually tested usage with version 3 for a long time and there
have been many changes since.

> 
>> I'm not so sure what the implications are of renaming autofs4 to autofs.
>> At the very least, the autofs init script itself tries to load the
>> autofs4 kernel module.  This would cause issues when updating a kernel,
>> so it sounds like a bad idea to me.  If there was a module alias causing
>> autofs to load when autofs4 is requested on newer kernels, I guess that
>> would be okay.  But I think that sort of thing is managed by the
>> userspace configuration.  The other option, then, is to ship an autofs
>> with an init script that knows which module to load.  Then, after that's
>> been in the wild for some time (a year?), make the switch.
> 
> Clearly we can't account for people using absolute paths so that will
> cause pain for some.
> 
> Some time ago Christoph suggested registering both autofs and autofs4
> but I'm not sure about that since both modules have always only
> registered autofs as the file system name.
> 
> We can add a MODULE_ALIAS() to the module source but that doesn't
> completely work, I think because the user space tools then don't get the
> directory right. Changing the user space configuration is also
> problematic because booting from a kernel with and without would require
> a configuration change every time.
> 
> The obvious simple solution would be to use symlinks to make the
> directory and module appear to be present, set about a process of user
> awareness and remove them after some pre-defined number of subsequent
> releases but I'm not sure how that approach would be received? We could
> even write a module stub that issues a warning message to syslog and
> then loads the autofs module but I haven't tried that yet.
> 
> Please, folks, some suggestions.
> 
> Ian
> 


  reply	other threads:[~2009-10-14  2:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23 23:28 [PATCH 1/2] vfs: make real_lookup do dentry revalidation with Jim Garlick
2009-09-24  3:50 ` Ian Kent
2009-09-24  7:00   ` Al Viro
2009-09-24  7:36     ` Ian Kent
2009-10-07  4:04       ` Ian Kent
2009-10-14  1:12         ` Jeff Moyer
2009-10-14  2:34           ` Ian Kent
2009-10-14  2:57             ` Ian Kent [this message]
2009-10-14 11:47             ` Jeff Moyer
2009-10-25  7:45             ` Christoph Hellwig
2009-10-25 23:33               ` Ian Kent

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=4AD53E29.4070807@themaw.net \
    --to=raven@themaw.net \
    --cc=akpm@linux-foundation.org \
    --cc=garlick@llnl.gov \
    --cc=hch@infradead.org \
    --cc=hpa@zytor.com \
    --cc=jmoyer@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=sage@newdream.net \
    --cc=viro@ZenIV.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).