freebsd-dev/share/man
Alan Somers f8ebf1cd7e fusefs: implement protocol 7.23's FUSE_WRITEBACK_CACHE option
As of protocol 7.23, fuse file systems can specify their cache behavior on a
per-mountpoint basis.  If they set FUSE_WRITEBACK_CACHE in
fuse_init_out.flags, then they'll get the writeback cache.  If not, then
they'll get the writethrough cache.  If they set FOPEN_DIRECT_IO in every
FUSE_OPEN response, then they'll get no cache at all.

The old vfs.fusefs.data_cache_mode sysctl is ignored for servers that use
protocol 7.23 or later.  However, it's retained for older servers,
especially for those running in jails that lack access to the new protocol.

This commit also fixes two other minor test bugs:
* WriteCluster:SetUp was using an uninitialized variable.
* Read.direct_io_pread wasn't verifying that the cache was actually
  bypassed.

Sponsored by:	The FreeBSD Foundation
2019-06-26 17:32:31 +00:00
..
man1 share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
man3 Add some missing MLINKs for tree(3). 2019-06-17 16:57:44 +00:00
man4 Add a pwmc(4) manpage. 2019-06-18 04:32:19 +00:00
man5 fusefs: implement protocol 7.23's FUSE_WRITEBACK_CACHE option 2019-06-26 17:32:31 +00:00
man6 Update intro(6) - remove hint that doesn't work, add explicit list 2017-11-27 12:39:35 +00:00
man7 Make tests(7) point people at the atf(7) man page. 2019-06-02 16:33:24 +00:00
man8 Add rc.resume(8) alias for rc(8) to fix the manpage cross references 2019-02-12 23:33:16 +00:00
man9 VOP_BMAP(9): fix typo in the copyright header 2019-06-20 14:40:36 +00:00
Makefile