freebsd-skq/sys/fs/smbfs
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
..
smbfs_io.c Do not leave invalid pages in the object after the short read for a 2012-08-14 11:45:47 +00:00
smbfs_node.c Simply error handling by moving the allocation of np down to where it is 2012-07-16 22:07:29 +00:00
smbfs_node.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
smbfs_smb.c Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
smbfs_subr.c Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
smbfs_subr.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
smbfs_vfsops.c Make sure all intermediate variables holding mount flags (mnt_flag) 2012-01-17 01:08:01 +00:00
smbfs_vnops.c Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
smbfs.h Remove MALLOC_DECLAREs of nonexisting malloc-pools. 2011-11-06 20:16:50 +00:00