freebsd-nq/tests/sys/fs/fusefs
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
..
access.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
allow_other.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
create.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
default_permissions_privileged.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
default_permissions.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
destroy.cc fusefs: add some explicit tests for FUSE_FORGET 2019-06-06 16:29:08 +00:00
dev_fuse_poll.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
fifo.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
flush.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
forget.cc fusefs: add some explicit tests for FUSE_FORGET 2019-06-06 16:29:08 +00:00
fsync.cc fusefs: set FUSE_WRITE_CACHE when writing from cache 2019-05-27 21:36:28 +00:00
fsyncdir.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
getattr.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
interrupt.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
io.cc fusefs: WIP fixing writeback cacheing 2019-06-11 16:32:33 +00:00
link.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
locks.cc fusefs: flock(2) locks must be implemented in-kernel 2019-05-28 00:03:46 +00:00
lookup.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
Makefile fusefs: WIP fixing writeback cacheing 2019-06-11 16:32:33 +00:00
mkdir.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
mknod.cc fusefs: remove debugging code that accidentally snuck into r348365 2019-06-04 19:06:24 +00:00
mockfs.cc fusefs: fix an infinite loop in the tests 2019-06-11 16:16:16 +00:00
mockfs.hh fusefs: support asynchronous cache invalidation 2019-06-03 17:34:01 +00:00
mount.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
nfs.cc fusefs: check the vnode cache when looking up files for the NFS server 2019-05-31 21:22:58 +00:00
notify.cc fusefs: don't require FUSE_EXPORT_SUPPORT for async invalidation 2019-06-03 20:45:32 +00:00
open.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
opendir.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
read.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
readdir.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
readlink.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
release.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
releasedir.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
rename.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
rmdir.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
setattr.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
statfs.cc fusefs: make the tests more cplusplusy 2019-05-27 17:08:16 +00:00
symlink.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
unlink.cc fusefs: prefer FUSE_ROOT_ID to literal 1 in the tests 2019-05-31 17:02:37 +00:00
utils.cc fusefs: add some explicit tests for FUSE_FORGET 2019-06-06 16:29:08 +00:00
utils.hh fusefs: add some explicit tests for FUSE_FORGET 2019-06-06 16:29:08 +00:00
write.cc fusefs: WIP fixing writeback cacheing 2019-06-11 16:32:33 +00:00
xattr.cc fusefs: fix a comment. No functional change. 2019-06-10 22:23:37 +00:00