[Bug 226650] ESXi NFSv4.1 client complains that "2" isn't a valid reason for not issuing a delegation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 16 00:46:04 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226650

            Bug ID: 226650
           Summary: ESXi NFSv4.1 client complains that "2" isn't a valid
                    reason for not issuing a delegation
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rmacklem at FreeBSD.org

Created attachment 191541
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=191541&action=edit
Change the reasons for not issuing delegations to ones that the ESXi client is
happy with

The ESXi NFSv4.1 client logs warning messages that state "2" is not
a valid reason for not issuing a delegation. "2" is the RESOURCE one
and I don't see why it wouldn't be a valid reason.

However, since other NFSv4.1 clients don't seem to care, changing the
NFSv4.1 server to not use this reason for the default case of delegations
not being enabled seems reasonable.
Unfortunately RFC5661 doesn't define a default reason, so I selected
FTYPE_NOT_SUPP as the closest and the ESXi client doesn't complain about
this one.

The attached patch changes the NFSv4.1 server to reply with reasons
for not issuing delegations that seems to make the ESXi client happy.
(The FreeBSD NFSv4.1 client ignores the reasons, so it doesn't care what
 they are. Testing with the Linux client is still needed for this patch
 to ensure it doesn't cause problems with the Linux client. If that is
 the case, I believe it should be ok to commit to head and MFC.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list