Linux NFS development
 help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH v2 0/3] Remove NFS v2 support from the client and server
Date: Mon, 10 Jan 2022 10:06:47 -0500	[thread overview]
Message-ID: <47ee3efc-8c25-4bd2-e6dc-c03d25e4f568@redhat.com> (raw)
In-Reply-To: <20211208163057.954500-1-steved@redhat.com>



On 12/8/21 11:30, Steve Dickson wrote:
> These patches will remove the all references and
> support of NFS v2 in both the server and client.
> 
> On server side the support has been off, by default,
> since 2013 (6b4e4965a6b). With this server patch the
> ability to enable v2 will be remove.
> 
> Currently even with CONFIG_NFS_V2 not set
> v2 mounts are still tied (over-the-wire). I looked at creating
> a kernel parameter module so support could re-enabled
> but that got ugly quick.
> 
> On the client, the -o v2 option is still a
> valid option because unknown mount options
> are passed to the kernel which will cause an
> actual mount to happen.
> 
> But the option has been removed from the man
> pages will cause the mount to fail with
> "NFS version is not supported"
> 
> I guess the only question left is does there
> need some type compilation flag or config flag
> that would re-enable the support. I'm thinking not.
> 
> Steve Dickson (3):
>    nfsd: Remove the ability to enable NFS v2.
>    nfs.man: Remove references to NFS v2 from the man pages
>    mount: Remove NFS v2 support from mount.nfs
> 
>   nfs.conf                  |  1 -
>   utils/mount/configfile.c  |  2 +-
>   utils/mount/mount.nfs.man |  2 +-
>   utils/mount/network.c     |  4 ++--
>   utils/mount/nfs.man       | 20 +++-----------------
>   utils/mount/nfsmount.conf |  2 +-
>   utils/mount/stropts.c     | 10 +++++++++-
>   utils/nfsd/nfsd.c         |  2 --
>   utils/nfsd/nfsd.man       |  4 ++--
>   9 files changed, 19 insertions(+), 28 deletions(-)
> 
Committed.... (tag: nfs-utils-2-5-5-rc5)

steved.


      parent reply	other threads:[~2022-01-10 15:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-08 16:30 [PATCH v2 0/3] Remove NFS v2 support from the client and server Steve Dickson
2021-12-08 16:30 ` [PATCH 1/3] nfsd: Remove the ability to enable NFS v2 Steve Dickson
2021-12-08 16:30 ` [PATCH 2/3] nfs.man: Remove references to NFS v2 from the man pages Steve Dickson
2021-12-08 16:30 ` [PATCH v2 3/3] mount: Remove NFS v2 support from mount.nfs Steve Dickson
2022-01-10 15:06 ` Steve Dickson [this message]

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=47ee3efc-8c25-4bd2-e6dc-c03d25e4f568@redhat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /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