Date: Fri, 16 Mar 2018 00:46:02 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 226650] ESXi NFSv4.1 client complains that "2" isn't a valid reason for not issuing a delegation Message-ID: <bug-226650-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: rmacklem@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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226650-8>
