2010-12-11 16:39:45

by P.B.Shelley

[permalink] [raw]
Subject: [nfsv4] Question about NFS41 server attributes changes

Hi,

I have a questions about NFS41 server attributes. The protocol defines
clearly in section 5.6 which attributes are modifiable by client and
which are not. But it is not clear on which attributes are modifiable
by server or not. Take the fs_layout_type and layout_blksize attribute
as an example. Can server change them at any time? What should client
do if server changes some attributes on its own?

--
Thanks,
Shelley
_______________________________________________
nfsv4 mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/nfsv4


2010-12-12 19:05:31

by Trond Myklebust

[permalink] [raw]
Subject: Re: [nfsv4] Question about NFS41 server attributes changes

On Sun, 2010-12-12 at 00:39 +0800, P.B.Shelley wrote:
> Hi,
>
> I have a questions about NFS41 server attributes. The protocol defines
> clearly in section 5.6 which attributes are modifiable by client and
> which are not. But it is not clear on which attributes are modifiable
> by server or not. Take the fs_layout_type and layout_blksize attribute
> as an example. Can server change them at any time? What should client
> do if server changes some attributes on its own?
>

For something like the fs_layout_type, the client should expect the
server to recall all layouts that may be affected by the change.

For most variables, however, the client should be aware that they can
change, and is expected to revalidate them by polling at regular
intervals.
fs_locations and security policy changes can also be detected by polling
the policy_change attribute (if supported on the server).

Cheers
Trond