HomeFreeBSD

Fix fuse so that stale buffer cache data isn't read.

Description

Fix fuse so that stale buffer cache data isn't read.

When I/O on a file under fuse is switched from buffered to DIRECT_IO,
it was possible to read stale (before a recent modification) data from
the buffer cache. This patch invalidates the buffer cache for the
file to fix this.

PR: 194293
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on
Parents
rS299815: Remove NO_WERROR.clang from this Makefile
Branches
Unknown
Tags
Unknown