freebsd-skq/sys/fs/smbfs
ups 4eb5a7d9ee 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
..
smbfs_io.c Do not set B_NOCACHE on buffers when releasing them in flushbuflist(). 2006-05-25 01:00:35 +00:00
smbfs_node.c I ran into an nfs client panic a couple of times in a row over the 2006-01-17 17:29:03 +00:00
smbfs_node.h /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
smbfs_smb.c Fix interaction with Windows 2000/XP based servers: 2005-11-22 07:13:00 +00:00
smbfs_subr.c Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
smbfs_subr.h Make smbfs capable to use 16bit char set in filenames. 2005-05-04 15:05:46 +00:00
smbfs_vfsops.c Eradicate caddr_t from the VFS API. 2005-12-14 00:49:52 +00:00
smbfs_vnops.c - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
smbfs.h Eliminate unused and constant arguments to smbfs_vinvalbuf() 2005-01-14 08:52:55 +00:00