HEAD'S UP: fusefs sysctls going away

Alan Somers asomers at freebsd.org
Thu Mar 21 15:43:29 UTC 2019


fusefs has several sysctl knobs that seem to be workarounds for bugs
in particular fuse daemons.  However, there is no indication as to
which those daemons are, neither in the code nor in SVN.  All of the
workarounds are at least 6.5 years old, so the original bugs may have
been fixed already.  Since the original bugs aren't documented, I
consider these workarounds to be unmaintainable, and I'm planning to
delete them unless anybody objects.  Please pipe up if you still use
them!

vfs.fusefs.fix_broken_io: If non-zero, print a diagnostic warning if a
userspace filesystem returns EIO on reads of recently extended
portions of files

vfs.fusefs.sync_resize: If a cached write extended a file, inform FUSE
filesystem of the changedsize immediately subsequent to the issued
writes

vfs.fusefs.refresh_size: If non-zero, and no dirty file extension data
is buffered, fetch file size before write operations

vfs.fusefs.mmap_enable: If non-zero, and data_cache_mode is also
non-zero, enable mmap(2) of FUSE files

vfs.fusefs.data_cache_invalidate: If non-zero, discard cached clean
file data when there are no active file users

-Alan


More information about the freebsd-fs mailing list