Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 02/05/2001 14:27:19
Module Name: syssrc
Committed By: chs
Date: Mon Feb 5 12:27:19 UTC 2001
Modified Files:
syssrc/sys/nfs: nfs_bio.c
Log Message:
fix several bugs:
- in the cases where we skip over the i/o loop, increment npages by ridx
so that when the cleanup code starts processing the pgs array at index 0
it'll actually process all of the pages.
- process the PG_RELEASED flag when unbusying pages.
- add some missing MP locking.
- use MIN() and MAX() instead of min() and max() since the latter are
functions which take arguments of type "int" but we call them with
values of type "off_t", so the values could be truncated.
To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 syssrc/sys/nfs/nfs_bio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.