freebsd-dev/sys/nfsclient
Stephan Uphoff dcf67e65d2 Do not set B_NOCACHE on buffers when releasing them in flushbuflist().
If B_NOCACHE is set the pages of vm backed buffers will be invalidated.
However clean buffers can be backed by dirty VM pages so invalidating them
can lead to data loss.
Add support for flush dirty page in the data invalidation function
of some network file systems.

This fixes data losses during vnode recycling (and other code paths
using invalbuf(*,V_SAVE,*,*)) for data written using an mmaped file.

Collaborative effort by: jhb@,mohans@,peter@,ps@,ups@
Reviewed by:	tegge@
MFC after:	7 days
2006-05-25 01:00:35 +00:00
..
bootp_subr.c When netbooting, as soon as we've figured out which interface we booted 2005-04-26 20:45:29 +00:00
krpc_subr.c MFp4: use the function to fix the packet header length instead of rolling 2005-03-16 08:13:08 +00:00
krpc.h
nfs_bio.c Do not set B_NOCACHE on buffers when releasing them in flushbuflist(). 2006-05-25 01:00:35 +00:00
nfs_diskless.c Actually I wanted 'nolockd' here instead of 'lockd'. 2006-03-19 13:27:37 +00:00
nfs_lock.c In nfs_dolock(), GC now under-used ioflg, rendered obsolete when we moved 2006-01-13 23:16:29 +00:00
nfs_lock.h For reasons unknown, the nfs locking code used a fifo to send requests to 2004-12-06 08:31:32 +00:00
nfs_nfsiod.c Since NFSv4 is not SMP safe, nfsiod needs to acquire Giant for NFSv4 mounts 2006-05-24 23:06:50 +00:00
nfs_node.c Vnode locks are recursive and the NFS client support shared vnode locks. 2006-05-23 16:07:23 +00:00
nfs_socket.c Refactor the NFS over UDP retransmit timeout estimation logic to allow 2006-05-23 18:33:58 +00:00
nfs_subs.c Changes to make the NFS client MP safe. 2006-05-19 00:04:24 +00:00
nfs_vfsops.c NFS over TCP retransmit behavior should default to a 60 second time out, 2006-05-23 18:48:07 +00:00
nfs_vnops.c Changes to make the NFS client MP safe. 2006-05-19 00:04:24 +00:00
nfs.h Since NFSv4 is not SMP safe, nfsiod needs to acquire Giant for NFSv4 mounts 2006-05-24 23:06:50 +00:00
nfsargs.h Fix a serious deadlock with the NFS client. Given a large enough 2005-06-10 23:50:41 +00:00
nfsdiskless.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfsm_subs.h fix a problem with XID re-use when a server returns NFSERR_JUKEBOX. 2005-11-21 18:39:18 +00:00
nfsmount.h Refactor the NFS over UDP retransmit timeout estimation logic to allow 2006-05-23 18:33:58 +00:00
nfsnode.h Changes to make the NFS client MP safe. 2006-05-19 00:04:24 +00:00
nfsstats.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nlminfo.h - Fix leak of struct nlminfo on process exit. 2005-10-26 07:18:37 +00:00