fusefs: correct a comment

[skip ci]

MFC after:	1 week
Sponsored by:	Axcient
This commit is contained in:
Alan Somers 2024-04-04 14:18:56 -06:00
parent d1801babad
commit c1326c01df

View file

@ -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,