freebsd-nq/sys/fs/nwfs
Konstantin Belousov b6c00483e9 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 Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_mount.h Remove MALLOC_DECLAREs of nonexisting malloc-pools. 2011-11-06 20:16:50 +00:00
nwfs_node.c Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
nwfs_node.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_subr.c Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_subr.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_vfsops.c Make sure all intermediate variables holding mount flags (mnt_flag) 2012-01-17 01:08:01 +00:00
nwfs_vnops.c Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
nwfs.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00