freebsd-skq/sys/fs/nwfs
kib a3d0fb0175 Do not leave invalid pages in the object after the short read for a
network file systems (not only NFS proper). Short reads cause pages
other then the requested one, which were not filled by read response,
to stay invalid.

Change the vm_page_readahead_finish() interface to not take the error
code, but instead to make a decision to free or to (de)activate the
page only by its validity. As result, not requested invalid pages are
freed even if the read RPC indicated success.

Noted and reviewed by:	alc
MFC after:	1 week
2012-08-14 11:45:47 +00:00
..
nwfs_io.c Do not leave invalid pages in the object after the short read for a 2012-08-14 11:45:47 +00:00
nwfs_ioctl.c
nwfs_mount.h
nwfs_node.c
nwfs_node.h
nwfs_subr.c
nwfs_subr.h
nwfs_vfsops.c
nwfs_vnops.c
nwfs.h