If a pseudo path changes, ideally the file handle should be correct and returning 'stale file handle' is a bug. We should be able to return stale state though and the client should do the right thing. File handle has version in it, so returning stale file handle is OK if the export version changes. 

If an admin wants to remove an export or its version, it is OK to honor him and return stale file handle, correct?

Regards, Malahal.

On Fri, Mar 20, 2020 at 5:01 AM Frank Filz <ffilzlnx@mindspring.com> wrote:

So some interesting issues arise if we change the pseudo path of an export or change the NFS versions supported…

 

What happens to state attached to files where the client will now get a stale file handle? This may not be an issue if the Pseudo Path to an export changes, but certainly would be a problem if v3 or v4 were dropped from the export.

 

If it really is only a problem for dropping v3 or v4 we could do the version specific state cleanup for the export.

 

Frank

_______________________________________________
Devel mailing list -- devel@lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org