HomeFreeBSD

MAXBSIZE defines both the largest UFS block size and the

Description

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.

Differential Revision: https://reviews.freebsd.org/D2330
Reviewed by: mav, kib
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on
Reviewer
mav
Differential Revision
D2330: Create MAXBCACHEBUF as a separate constant from MAXBSIZE
Parents
rS281959: Try alternate addresses more agressively.
Branches
Unknown
Tags
Unknown