git: c1326c01df81 - main - fusefs: correct a comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Apr 2024 20:19:57 UTC
The branch main has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=c1326c01df81dd06739ddf1946e1968ddaba0c8e
commit c1326c01df81dd06739ddf1946e1968ddaba0c8e
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2024-04-04 20:18:56 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2024-04-04 20:18:56 +0000
fusefs: correct a comment
[skip ci]
MFC after: 1 week
Sponsored by: Axcient
---
sys/fs/fuse/fuse_node.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/sys/fs/fuse/fuse_node.c b/sys/fs/fuse/fuse_node.c
index 13c2b59c7c97..777519450954 100644
--- a/sys/fs/fuse/fuse_node.c
+++ b/sys/fs/fuse/fuse_node.c
@@ -112,14 +112,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,