]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r336357
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 1 Aug 2018 19:25:12 +0000 (19:25 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 1 Aug 2018 19:25:12 +0000 (19:25 +0000)
commitbe1c71e80fc867e32b9f059ea47ab671ae91c16e
treec861ea292a6d358732199f16c79e45014c759811
parentc587f364e3853b60ac2f771b6f5bfcb413d5d281
MFC: r336357
Modify the reasons for not issuing a delegation in the NFSv4.1 server.

The ESXi NFSv4.1 client will generate warning messages when the reason for
not issuing a delegation is two. Two refers to a resource limit and I do
not see why it would be considered invalid. However it probably was not the
best choice of reason for not issuing a delegation.
This patch changes the reasons used to ones that the ESXi client doesn't
complain about. This change does not affect the FreeBSD client and does
not appear to affect behaviour of the Linux NFSv4.1 client.
RFC5661 defines these "reasons" but does not give any guidance w.r.t. which
ones are more appropriate to return to a client.

git-svn-id: svn://svn.freebsd.org/base/stable/10@337058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfsproto.h
sys/fs/nfsserver/nfs_nfsdserv.c
sys/fs/nfsserver/nfs_nfsdstate.c