From: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
To: Josh Boyer <jwboyer@redhat.com>
Cc: Jim Rees <rees@umich.edu>,
"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] NFSv4: Add modalias for "nfs4"
Date: Fri, 27 Apr 2012 15:21:15 +0000 [thread overview]
Message-ID: <1335540074.3910.9.camel@lade.trondhjem.org> (raw)
In-Reply-To: <20120427151406.GD13189@zod.bos.redhat.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2372 bytes --]
On Fri, 2012-04-27 at 11:14 -0400, Josh Boyer wrote:
> On Fri, Apr 27, 2012 at 03:02:07PM +0000, Myklebust, Trond wrote:
> > On Fri, 2012-04-27 at 10:53 -0400, Josh Boyer wrote:
> > > On Fri, Apr 27, 2012 at 02:50:28PM +0000, Myklebust, Trond wrote:
> > > > On Fri, 2012-04-27 at 10:48 -0400, Josh Boyer wrote:
> > > > > On Fri, Apr 27, 2012 at 10:19:18AM -0400, Jim Rees wrote:
> > > > > > Josh Boyer wrote:
> > > > > >
> > > > > > When NFSv4 is configured, the support goes into the nfs.ko module.
> > > > > > However, nfs-utils seems to pass "nfs4" as the fileststem type for
> > > > > > NFSv4 mounts.
> > > > > >
> > > > > > Weren't we going to change that to nfs and use nfsvers to select nfs4?
> > > > >
> > > > > I have, approximately, no idea. At least the version of nfs-utils found
> > > > > in Fedora 17 and rawhide, it's still using "nfs4". I believe that is
> > > > > nfs-utils-1.2.6-rc6 based.
> > > >
> > > > nfs4 is still _supported_ in Fedora 17, rawhide and upstream as a legacy
> > > > feature, but the recommended practice should be to mount -t nfs -overs=4
> > > > (or -overs=4.1).
> > >
> > > OK. So either this patch needs to go in, or something needs to add:
> > >
> > > alias nfs4 nfs
> > >
> > > to a conf file so modprobe picks it up. I figured the kernel could add
> > > the alias itself. Is there a reason not to?
> >
> > Yes. This is a legacy feature that we want to encourage people to move
> > their systems off...
>
> So essentially what needs to happen is:
>
> - Recent distros still ship the modalias in a conf file
> - Upstream nfs-utils starts translating 'mount -t nfs4' into 'mount -t
> nfs -overs=4' in /sbin/mount.nfs4
> - Upstream releases that
> - Distros drop the alias.
>
> Right?
No. Really all we need to do is add a printf() to /sbin/mount.nfs4 to
the effect that this is a legacy feature and that '-t nfs -overs=4' is
the recommended mount option. Perhaps the distros can also have their
distro upgrade utilities edit /etc/fstab to upgrade those automatically.
Then the distros can drop the alias whenever they think it is
appropriate.
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2012-04-27 15:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-27 13:10 Josh Boyer
2012-04-27 13:30 ` Jeff Layton
2012-04-27 14:19 ` Jim Rees
2012-04-27 14:48 ` Josh Boyer
2012-04-27 14:50 ` Myklebust, Trond
2012-04-27 14:53 ` Josh Boyer
2012-04-27 15:02 ` Myklebust, Trond
2012-04-27 15:14 ` Josh Boyer
2012-04-27 15:21 ` Myklebust, Trond [this message]
2012-04-27 15:41 ` Josh Boyer
2012-04-27 15:27 ` Jeff Layton
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=1335540074.3910.9.camel@lade.trondhjem.org \
--to=trond.myklebust@netapp.com \
--cc=jwboyer@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=rees@umich.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®