summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorups <ups@FreeBSD.org>2006-05-25 01:00:35 +0000
committerups <ups@FreeBSD.org>2006-05-25 01:00:35 +0000
commit4eb5a7d9ee279be7c2af44ea69f761d7ddb4ddaf (patch)
tree1d4029c4f5ae89d4fc67d2ec54084eeca9bb5d19 /lib
parent365e894b0f63e67763498fc8f9ebd33fa3cfa8bf (diff)
downloadFreeBSD-src-4eb5a7d9ee279be7c2af44ea69f761d7ddb4ddaf.zip
FreeBSD-src-4eb5a7d9ee279be7c2af44ea69f761d7ddb4ddaf.tar.gz
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
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud