]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r281960
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 14 May 2015 22:50:07 +0000 (22:50 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 14 May 2015 22:50:07 +0000 (22:50 +0000)
commitef41afb88422c302e8865e6e9597a37dddaaac50
treeff92e857839a20a5def9e2ed0b79962fc1029aa5
parente7d4f4be27625290aebdbd7f62aba705c21a1c48
MFC: r281960
MAXBSIZE defines both the largest UFS block size and the
largest size for a buffer in the buffer cache. This patch
defines a new constant MAXBCACHEBUF, which is the largest
size for a buffer in the buffer cache. Having a separate
constant allows MAXBCACHEBUF to be set larger than MAXBSIZE
on a per-architecture basis, so that NFS can do larger read/writes
for these architectures. It modifies sys/param.h so that BKVASIZE
can also be set on a per-architecture basis.
A couple of cases where NFS used MAXBSIZE instead of NFS_MAXBSIZE
is fixed as well.

git-svn-id: svn://svn.freebsd.org/base/stable/10@282933 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfsport.h
sys/fs/nfsclient/nfs_clvfsops.c
sys/kern/vfs_bio.c
sys/sys/param.h