aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorStephan Uphoff <ups@FreeBSD.org>2006-05-25 01:00:35 +0000
committerStephan Uphoff <ups@FreeBSD.org>2006-05-25 01:00:35 +0000
commitdcf67e65d2b58a3b0d31d275cacb4c038ba7ecee (patch)
tree1d4029c4f5ae89d4fc67d2ec54084eeca9bb5d19 /lib/libutil
parent5bbfbd142274ac8e5069857415bda182237c8473 (diff)
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
Notes
Notes: svn path=/head/; revision=158906
Diffstat (limited to 'lib/libutil')
0 files changed, 0 insertions, 0 deletions