HomeFreeBSD

fusefs: fix panic when writing with O_DIRECT and using writeback cache

Description

fusefs: fix panic when writing with O_DIRECT and using writeback cache

When a fusefs file system is mounted using the writeback cache, the cache
may still be bypassed by opening a file with O_DIRECT. When writing with
O_DIRECT, the cache must be invalidated for the affected portion of the
file. Fix some panics caused by inadvertently invalidating too much.

Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on Jul 28 2019, 3:17 PM
Parents
rGa63915c2d7ff: MFHead @r350386
Branches
Unknown
Tags
Unknown

Event Timeline