Linux NFS development
 help / color / mirror / Atom feed
* NFSv4.1 --> NFSv4.2 client implementation?
@ 2023-11-18  7:53 Cedric Blancher
  2023-11-18 12:01 ` Jeff Layton
  0 siblings, 1 reply; 4+ messages in thread
From: Cedric Blancher @ 2023-11-18  7:53 UTC (permalink / raw)
  To: Linux NFS Mailing List

Good morning!

What are the differences between NFSv4.1 and NFSv4.2 for a NFSv4
client, if we ignore server-side copy and READ_PLUS support?
Can a NFSv4.1 client then identify itself als NFSv4.2 client?

Ced
-- 
Cedric Blancher <cedric.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NFSv4.1 --> NFSv4.2 client implementation?
  2023-11-18  7:53 NFSv4.1 --> NFSv4.2 client implementation? Cedric Blancher
@ 2023-11-18 12:01 ` Jeff Layton
  2023-11-19 16:58   ` Cedric Blancher
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2023-11-18 12:01 UTC (permalink / raw)
  To: Cedric Blancher, Linux NFS Mailing List

On Sat, 2023-11-18 at 08:53 +0100, Cedric Blancher wrote:
> Good morning!
> 
> What are the differences between NFSv4.1 and NFSv4.2 for a NFSv4
> client, if we ignore server-side copy and READ_PLUS support?
> Can a NFSv4.1 client then identify itself als NFSv4.2 client?
> 

Yes. I believe that NFSv4.2 consists entirely of optional features over
NFSv4.1, so it's legitimate for a client or server to advertise itself
as a v4.2 capable, but support none of the features.

-- 
Jeff Layton <jlayton@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NFSv4.1 --> NFSv4.2 client implementation?
  2023-11-18 12:01 ` Jeff Layton
@ 2023-11-19 16:58   ` Cedric Blancher
  2023-11-19 17:20     ` Anna Schumaker
  0 siblings, 1 reply; 4+ messages in thread
From: Cedric Blancher @ 2023-11-19 16:58 UTC (permalink / raw)
  To: Linux NFS Mailing List

On Sat, 18 Nov 2023 at 13:01, Jeff Layton <jlayton@kernel.org> wrote:
>
> On Sat, 2023-11-18 at 08:53 +0100, Cedric Blancher wrote:
> > Good morning!
> >
> > What are the differences between NFSv4.1 and NFSv4.2 for a NFSv4
> > client, if we ignore server-side copy and READ_PLUS support?
> > Can a NFSv4.1 client then identify itself als NFSv4.2 client?
> >
>
> Yes. I believe that NFSv4.2 consists entirely of optional features over
> NFSv4.1, so it's legitimate for a client or server to advertise itself
> as a v4.2 capable, but support none of the features.

Can anyone confirm this? So NFSv4.2 does not require protocol minor
version negotiation, or how does it work?

Ced
-- 
Cedric Blancher <cedric.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NFSv4.1 --> NFSv4.2 client implementation?
  2023-11-19 16:58   ` Cedric Blancher
@ 2023-11-19 17:20     ` Anna Schumaker
  0 siblings, 0 replies; 4+ messages in thread
From: Anna Schumaker @ 2023-11-19 17:20 UTC (permalink / raw)
  To: Cedric Blancher; +Cc: Linux NFS Mailing List

Hi Ced,

On Sun, Nov 19, 2023 at 11:58 AM Cedric Blancher
<cedric.blancher@gmail.com> wrote:
>
> On Sat, 18 Nov 2023 at 13:01, Jeff Layton <jlayton@kernel.org> wrote:
> >
> > On Sat, 2023-11-18 at 08:53 +0100, Cedric Blancher wrote:
> > > Good morning!
> > >
> > > What are the differences between NFSv4.1 and NFSv4.2 for a NFSv4
> > > client, if we ignore server-side copy and READ_PLUS support?
> > > Can a NFSv4.1 client then identify itself als NFSv4.2 client?
> > >
> >
> > Yes. I believe that NFSv4.2 consists entirely of optional features over
> > NFSv4.1, so it's legitimate for a client or server to advertise itself
> > as a v4.2 capable, but support none of the features.
>
> Can anyone confirm this? So NFSv4.2 does not require protocol minor
> version negotiation, or how does it work?

I can confirm this. When mounting with NFS v4.2, the client will
detect if the server doesn't support one of the new operations (by the
server returning NFS4ERR_NOTSUPP) and will remember not to try it
again.

Anna

>
> Ced
> --
> Cedric Blancher <cedric.blancher@gmail.com>
> [https://plus.google.com/u/0/+CedricBlancher/]
> Institute Pasteur

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-19 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-18  7:53 NFSv4.1 --> NFSv4.2 client implementation? Cedric Blancher
2023-11-18 12:01 ` Jeff Layton
2023-11-19 16:58   ` Cedric Blancher
2023-11-19 17:20     ` Anna Schumaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox