freebsd-dev/sys/fs/fuse
Alan Somers a87e0831ab fusefs: WIP fixing writeback cacheing
The current "writeback" cache mode, selected by the
vfs.fusefs.data_cache_mode sysctl, doesn't do writeback cacheing at all.  It
merely goes through the motions of using buf(9), but then writes every
buffer synchronously.  This commit:

* Enables delayed writes when the sysctl is set to writeback cacheing
* Fixes a cache-coherency problem when extending a file whose last page has
  just been written.
* Removes the "sync" mount option, which had been set unconditionally.
* Adjusts some SDT probes
* Adds several new tests that mimic what fsx does but with more control and
  without a real file system.  As I discover failures with fsx, I add
  regression tests to this file.
* Adds a test that ensures we can append to a file without reading any data
  from it.

This change is still incomplete.  Clustered writing is not yet supported,
and there are frequent "panic: vm_fault_hold: fault on nofault entry" panics
that I need to fix.

Sponsored by:	The FreeBSD Foundation
2019-06-11 16:32:33 +00:00
..
fuse_device.c fusefs: support asynchronous cache invalidation 2019-06-03 17:34:01 +00:00
fuse_file.c fusefs: set the flags fields of fuse_write_in and fuse_read_in 2019-05-28 01:09:19 +00:00
fuse_file.h fusefs: raise protocol level to 7.10 2019-05-29 00:01:36 +00:00
fuse_internal.c MFHead @348740 2019-06-06 16:20:50 +00:00
fuse_internal.h MFHead @348740 2019-06-06 16:20:50 +00:00
fuse_io.c fusefs: WIP fixing writeback cacheing 2019-06-11 16:32:33 +00:00
fuse_io.h fusefs: fix a deadlock in VOP_PUTPAGES 2019-04-26 19:47:43 +00:00
fuse_ipc.c fusefs: misc build fixes 2019-05-25 21:40:27 +00:00
fuse_ipc.h fusefs: implement FUSE_ASYNC_READ 2019-05-24 05:12:43 +00:00
fuse_kernel.h fusefs: raise protocol level to 7.12 2019-05-29 16:39:52 +00:00
fuse_main.c fusefs: FIFO support 2019-04-29 01:40:35 +00:00
fuse_node.c MFHead @348740 2019-06-06 16:20:50 +00:00
fuse_node.h MFHead @348740 2019-06-06 16:20:50 +00:00
fuse_vfsops.c fusefs: WIP fixing writeback cacheing 2019-06-11 16:32:33 +00:00
fuse_vnops.c MFHead @348740 2019-06-06 16:20:50 +00:00
fuse.h fusefs: reap dead code 2019-04-19 23:04:07 +00:00