Browse Source

Fix variable names of fuse-msg-size and posix-acl (#1553)

pull/1554/head
trapexit 2 weeks ago
committed by GitHub
parent
commit
077484323c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 18
      mkdocs/docs/config/deprecated_options.md
  2. 2
      mkdocs/docs/faq/usage_and_functionality.md
  3. 11
      mkdocs/docs/performance.md
  4. 4
      src/config.cpp

18
mkdocs/docs/config/deprecated_options.md

@ -5,19 +5,19 @@ function or have been replaced. **They should not be used.**
* **allow_other**: mergerfs v2.35.0 and above sets this FUSE option * **allow_other**: mergerfs v2.35.0 and above sets this FUSE option
automatically if running as root. automatically if running as root.
* **async_read**: Use `async_read=true`.
* **async_read**: Use `async-read=true`.
* **atomic_o_trunc**: Does nothing. * **atomic_o_trunc**: Does nothing.
* **big_writes**: Does nothing. * **big_writes**: Does nothing.
* **attr_timeout**: Use `cache.attr`.
* **auto_cache**: Use `cache.files=auto-full`.
* **direct_io**: Use `cache.files=off`.
* **entry_timeout**: Use `cache.entry`.
* **attr_timeout**: Use [cache.attr](cache.md).
* **auto_cache**: Use [cache.files=auto-full](cache.md).
* **direct_io**: Use [cache.files=off](cache.md).
* **entry_timeout**: Use [cache.entry](cache.md).
* **hard_remove**: Does nothing. * **hard_remove**: Does nothing.
* **kernel_cache**: Use `cache.files=full`.
* **negative_entry**: Use `cache.negative_entry`.
* **kernel_cache**: Use [cache.files=full](cache.md).
* **negative_entry**: Use [cache.negative-entry](cache.md).
* **nonempty**: Does nothing. * **nonempty**: Does nothing.
* **splice_move**: Does nothing. * **splice_move**: Does nothing.
* **splice_read**: Does nothing. * **splice_read**: Does nothing.
* **splice_write**: Does nothing. * **splice_write**: Does nothing.
* **sync_read**: Use `async_read=false`.
* **use_ino**: Use `inodecalc`.
* **sync_read**: Use `async-read=false`.
* **use_ino**: Use [inodecalc](inodecalc.md).

2
mkdocs/docs/faq/usage_and_functionality.md

@ -105,7 +105,7 @@ normal conditions.
Keep in mind that if out-of-band changes are made while also Keep in mind that if out-of-band changes are made while also
leveraging any caching of the filesystem layout such as with leveraging any caching of the filesystem layout such as with
`cache.entry`, `cache.negative_entry`, `cache.attr`, `cache.symlinks`,
`cache.entry`, `cache.negative-entry`, `cache.attr`, `cache.symlinks`,
or `cache.readdir` you may experience temporary inconsistency till the or `cache.readdir` you may experience temporary inconsistency till the
cache expires. mergerfs is not actively watching all branches for cache expires. mergerfs is not actively watching all branches for
changes and the kernel will have no way to know anything changed so as changes and the kernel will have no way to know anything changed so as

11
mkdocs/docs/performance.md

@ -24,23 +24,22 @@ before changing them to understand how functionality will change.
* test theoretical performance using `nullrw` or using a ram disk as a * test theoretical performance using `nullrw` or using a ram disk as a
branch branch
* enable [passthrough](config/passthrough.md) (likely to have the
* enable [passthrough.io](config/passthrough.md) (likely to have the
biggest impact) biggest impact)
* change read or process [thread pools](config/threads.md) * change read or process [thread pools](config/threads.md)
* toggle [func.readdir](config/func_readdir.md) * toggle [func.readdir](config/func_readdir.md)
* increase [readahead](config/readahead.md): `readahead=1024` * increase [readahead](config/readahead.md): `readahead=1024`
* disable `security_capability` and/or [xattr](config/xattr.md)
* disable `security-capability` and/or [xattr](config/xattr.md)
* increase cache timeouts [cache.attr](config/cache.md#cacheattr), * increase cache timeouts [cache.attr](config/cache.md#cacheattr),
[cache.entry](config/cache.md#cacheentry), [cache.entry](config/cache.md#cacheentry),
[cache.negative_entry](config/cache.md#cachenegative-entry)
[cache.negative-entry](config/cache.md#cachenegative-entry)
* toggle [page caching](config/cache.md#cachefiles) * toggle [page caching](config/cache.md#cachefiles)
* enable `parallel-direct-writes` * enable `parallel-direct-writes`
* enable [cache.writeback](config/cache.md#cachewriteback)
* enable [cache.statfs](config/cache.md#cachestatfs) * enable [cache.statfs](config/cache.md#cachestatfs)
* enable [cache.symlinks](config/cache.md#cachesymlinks) * enable [cache.symlinks](config/cache.md#cachesymlinks)
* enable [cache.readdir](config/cache.md#cachereaddir) * enable [cache.readdir](config/cache.md#cachereaddir)
* disable `posix_acl`
* disable `async_read`
* disable `posix-acl`
* disable `async-read`
* use [symlinkify](config/symlinkify.md) if your data is largely * use [symlinkify](config/symlinkify.md) if your data is largely
static and read-only static and read-only
* use [tiered cache](extended_usage_patterns.md) devices * use [tiered cache](extended_usage_patterns.md) devices

4
src/config.cpp

@ -240,7 +240,7 @@ Config::Config()
_map["func.truncate"] = &func.truncate; _map["func.truncate"] = &func.truncate;
_map["func.unlink"] = &func.unlink; _map["func.unlink"] = &func.unlink;
_map["func.utimens"] = &func.utimens; _map["func.utimens"] = &func.utimens;
_map["fuse_msg_size"] = &fuse_msg_size;
_map["fuse-msg-size"] = &fuse_msg_size;
_map["gid"] = &gid; _map["gid"] = &gid;
_map["gid-cache.expire-timeout"] = &gid_cache_expire_timeout; _map["gid-cache.expire-timeout"] = &gid_cache_expire_timeout;
_map["gid-cache.remove-timeout"] = &gid_cache_remove_timeout; _map["gid-cache.remove-timeout"] = &gid_cache_remove_timeout;
@ -272,7 +272,7 @@ Config::Config()
_map["passthrough.max-stack-depth"] = &passthrough_max_stack_depth; _map["passthrough.max-stack-depth"] = &passthrough_max_stack_depth;
_map["pid"] = &pid; _map["pid"] = &pid;
_map["pin-threads"] = &pin_threads; _map["pin-threads"] = &pin_threads;
_map["posix_acl"] = &posix_acl;
_map["posix-acl"] = &posix_acl;
_map["process-thread-count"] = &process_thread_count; _map["process-thread-count"] = &process_thread_count;
_map["process-thread-queue-depth"] = &process_thread_queue_depth; _map["process-thread-queue-depth"] = &process_thread_queue_depth;
_map["proxy-ioprio"] = &proxy_ioprio; _map["proxy-ioprio"] = &proxy_ioprio;

Loading…
Cancel
Save