Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2019 09:43:07 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>, freebsd-fs <freebsd-fs@freebsd.org>
Subject:   HEAD'S UP: fusefs sysctls going away
Message-ID:  <CAOtMX2i9qwhNTdCgNxxUOmf=FZAOmD7w=T8vmvyF-9-P0iw-CQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2i9qwhNTdCgNxxUOmf=FZAOmD7w=T8vmvyF-9-P0iw-CQ>