diff options
author | Alan Somers <asomers@FreeBSD.org> | 2024-04-04 20:18:56 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2024-06-13 19:51:08 +0000 |
commit | cb3c40b430496aed7b567a03e6b0da8b67077e19 (patch) | |
tree | f876e94ff1aae761eb489c563f341628513fff7f /sys/fs | |
parent | bd11dd6fb9a0e4daa04f0fa66ed38d44f716e919 (diff) |
fusefs: correct a comment
[skip ci]
Sponsored by: Axcient
(cherry picked from commit c1326c01df81dd06739ddf1946e1968ddaba0c8e)
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/fuse/fuse_node.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/fs/fuse/fuse_node.c b/sys/fs/fuse/fuse_node.c index 52bd2d92f4da..e3448e6fa42f 100644 --- a/sys/fs/fuse/fuse_node.c +++ b/sys/fs/fuse/fuse_node.c @@ -113,14 +113,15 @@ SYSCTL_COUNTER_U64(_vfs_fusefs_stats, OID_AUTO, node_count, CTLFLAG_RD, int fuse_data_cache_mode = FUSE_CACHE_WT; /* - * DEPRECATED - * This sysctl is no longer needed as of fuse protocol 7.23. Individual + * OBSOLETE + * This sysctl is no longer needed as of fuse protocol 7.23. Now, individual * servers can select the cache behavior they need for each mountpoint: * - writethrough: the default * - writeback: set FUSE_WRITEBACK_CACHE in fuse_init_out.flags * - uncached: set FOPEN_DIRECT_IO for every file - * The sysctl is retained primarily for use by jails supporting older FUSE - * protocols. It may be removed entirely once FreeBSD 11.3 and 12.0 are EOL. + * The sysctl is retained primarily due to the enduring popularity of libfuse2, + * which is frozen at protocol version 7.19. As of 4-April-2024, 90% of + * FreeBSD ports that use libfuse still bind to libfuse2. */ SYSCTL_PROC(_vfs_fusefs, OID_AUTO, data_cache_mode, CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RW, |