]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r321314
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 27 Jul 2017 23:15:24 +0000 (23:15 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 27 Jul 2017 23:15:24 +0000 (23:15 +0000)
commit140947514995101fbbd0ce8915609dd669af2c5c
treee36269dcca4cb348c63948922a4aae3b90cf47cf
parenteb54404b71d1aadf31e8552b214cf8976a035f18
MFC: r321314
r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers.

r320062 used nm_rsize, nm_wsize to set the maximum request/response sizes for
the NFSv4.1 session. If rsize,wsize are not specified as options, the
value of nm_rsize, nm_wsize is 0 at session creation, resulting in
values for request/response that are too small.
This patch fixes the problem. A workaround is to specify rsize=N,wsize=N
mount options explicitly, so they are set before session creation.
This bug only affects NFSv4.1 mounts against some non-FreeBSD servers.

git-svn-id: svn://svn.freebsd.org/base/stable/10@321634 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clrpcops.c