diff options
author | ups <ups@FreeBSD.org> | 2006-05-25 01:00:35 +0000 |
---|---|---|
committer | ups <ups@FreeBSD.org> | 2006-05-25 01:00:35 +0000 |
commit | 4eb5a7d9ee279be7c2af44ea69f761d7ddb4ddaf (patch) | |
tree | 1d4029c4f5ae89d4fc67d2ec54084eeca9bb5d19 /games/pom | |
parent | 365e894b0f63e67763498fc8f9ebd33fa3cfa8bf (diff) | |
download | FreeBSD-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 'games/pom')
0 files changed, 0 insertions, 0 deletions