/[base]
ViewVC logotype

Revision 346162


Jump to revision: Previous Next
Author: asomers
Date: Fri Apr 12 19:05:06 2019 UTC (5 years, 2 months ago)
Changed paths: 4
Log Message:
fusefs: evict invalidated cache contents during write-through

fusefs's default cache mode is "writethrough", although it currently works
more like "write-around"; writes bypass the cache completely.  Since writes
bypass the cache, they were leaving stale previously-read data in the cache.
This commit invalidates that stale data.  It also adds a new global
v_inval_buf_range method, like vtruncbuf but for a range of a file.

PR:		235774
Reported by:	cem
Sponsored by:	The FreeBSD Foundation


Changed paths

Path Details
Directoryprojects/fuse2/sys/fs/fuse/fuse_io.c modified , text changed
Directoryprojects/fuse2/sys/kern/vfs_subr.c modified , text changed
Directoryprojects/fuse2/sys/sys/vnode.h modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/write.cc modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27