freebsd-dev/sys/nfsclient
Konstantin Belousov 031ec8c10a In the VOP_PUTPAGES() implementations, change the default error from
VM_PAGER_AGAIN to VM_PAGER_ERROR for the uwritten pages. Return
VM_PAGER_AGAIN for the partially written page. Always forward at least
one page in the loop of vm_object_page_clean().

VM_PAGER_ERROR causes the page reactivation and does not clear the
page dirty state, so the write is not lost.

The change fixes an infinite loop in vm_object_page_clean() when the
filesystem returns permanent errors for some page writes.

Reported and tested by:	gavin
Reviewed by:	alc, rmacklem
MFC after:	1 week
2011-06-01 21:00:28 +00:00
..
nfs_bio.c In the VOP_PUTPAGES() implementations, change the default error from 2011-06-01 21:00:28 +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 Change the sysctl naming for the old and new NFS clients 2011-05-15 20:52:43 +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 Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
nfs_subs.c Change the sysctl naming for the old and new NFS clients 2011-05-15 20:52:43 +00:00
nfs_vfsops.c Add a check for MNTK_UNMOUNTF at the beginning of nfs_sync() 2011-05-29 20:55:23 +00:00
nfs_vnops.c Eliminate duplicate #include's. 2011-05-22 18:11:41 +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 Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nfsmount.h Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
nfsnode.h Modify the NFS clients and the NLM so that the NLM can be used 2010-10-19 00:20:00 +00:00
nfsstats.h
nlminfo.h