Subject: CVS commit: src/sys/nfs
To: None <source-changes@netbsd.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 05/29/2003 15:18:16
Module Name:	src
Committed By:	yamt
Date:		Thu May 29 15:18:15 UTC 2003

Modified Files:
	src/sys/nfs: nfs_serv.c

Log Message:
workaround for UBC limit.

while our nfsd announces MAXBSIZE as wtmax for tcp,
VOP_GETPAGES of filesystems that uses genfs_getpages can't
handle >= MAX_READ_AHEAD(16) pages at once.
therefore, depending on PAGE_SIZE of the machine and file offset of
a read request, we can't VOP_GETPAGES the range at once.


To generate a diff of this commit:
cvs rdiff -r1.74 -r1.75 src/sys/nfs/nfs_serv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.