freebsd-nq/sys/nfsclient
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
..
nfs_bio.c Do not leave invalid pages in the object after the short read for a 2012-08-14 11:45:47 +00:00
nfs_kdtrace.c Fix the module dependency in nfs_kdtrace.c for the old NFS 2011-05-06 19:55:15 +00:00
nfs_krpc.c Adjust the nfs_skip_wcc_data_onerr setting so that it does not block 2012-02-24 17:26:06 +00:00
nfs_nfsiod.c Change the sysctl naming for the old and new NFS clients 2011-05-15 20:52:43 +00:00
nfs_node.c PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfs_subs.c Fix mount mutex handling missed in r234386. 2012-05-10 21:38:48 +00:00
nfs_vfsops.c Fix mount mutex handling missed in r234386. 2012-05-05 09:34:35 +00:00
nfs_vnops.c PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfs.h Fix a comment that got missed by r221973 which changed 2011-05-16 13:12:09 +00:00
nfsargs.h Implemented a mount option "nocto" that disables cache coherency 2011-05-04 13:27:45 +00:00
nfsm_subs.h Close a race in NFS lookup processing that could result in stale name cache 2012-01-20 20:02:01 +00:00
nfsmount.h Add a timeout on positive name cache entries in the NFS client. That is, 2012-01-25 20:05:58 +00:00
nfsnode.h PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsstats.h
nlminfo.h