1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/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
nfs_krpc.c
nfs_nfsiod.c
nfs_node.c PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfs_subs.c
nfs_vfsops.c
nfs_vnops.c PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfs.h
nfsargs.h
nfsm_subs.h
nfsmount.h
nfsnode.h PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsstats.h
nlminfo.h