mergerfs/vendored/libfuse/lib
Antonio SJ Musumeci 127c2e6238 fix: cap thread pools at 64 and warn when clamped
- Limit read-thread-count, process-thread-count and the cor/cosr pool
  size in func.readdir to 64 threads per pool. Apply the cap after
  resolving automatic and CPU-divided counts; keep disabled process
  pools disabled and preserve the configured strings.
- Log a syslog warning identifying the setting and limit when clamped.
  For readdir, warn only when applying a valid concurrent policy,
  not during validation.
- Document the fixed cap and warning behavior. Queue depths retain
  their separate limits and use the clamped thread count.
- Resolve negative FUSE counts without overflowing on INT_MIN.

Document that both readdir inputs must fit in int and that a queue
depth whose product with the resolved thread count exceeds INT_MAX
is rejected, not clamped.
2026-11-21 17:48:28 -05:00
..
cpu.cpp libfuse: small safety and portability fixes across opt/cpu/fusermount/maintenance_thread 2026-04-18 13:47:23 -05:00
cpu.hpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
crc32b.cpp Convert vendored/libfuse C sources to C++17 2026-03-24 21:13:34 -04:00
crc32b.h Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
debug.cpp Require C++20-capable build toolchains 2026-05-13 13:55:43 -05:00
format.cpp Move fmtlib to vendored and upgrade to 12.1.0 2026-03-02 01:09:16 -05:00
fuse.cpp fix: pass base directory paths to TMPFILE callbacks 2026-11-01 21:11:04 -06:00
fuse_cfg.cpp Use shared_mutex for fuse log config 2026-05-14 00:22:06 -04:00
fuse_dirents.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
fuse_i.hpp Manage cloned /dev/fuse fds in sessions 2026-05-14 20:13:07 -05:00
fuse_loop.cpp fix: cap thread pools at 64 and warn when clamped 2026-11-21 17:48:28 -05:00
fuse_lowlevel.cpp Manage cloned /dev/fuse fds in sessions 2026-05-14 20:13:07 -05:00
fuse_msgbuf.cpp More aggressive error handing with pagesize queries 2026-03-24 21:13:34 -04:00
fuse_opt.cpp libfuse: small safety and portability fixes across opt/cpu/fusermount/maintenance_thread 2026-04-18 13:47:23 -05:00
fuse_req.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
fuse_session.cpp Manage cloned /dev/fuse fds in sessions 2026-05-14 20:13:07 -05:00
fuse_signals.cpp libfuse: use atomic fuse_session pointer in signal handler 2026-04-18 13:47:23 -05:00
helper.cpp Use unmount() on FreeBSD for ENOTCONN umount 2026-05-07 17:49:24 -04:00
maintenance_thread.cpp libfuse: small safety and portability fixes across opt/cpu/fusermount/maintenance_thread 2026-04-18 13:47:23 -05:00
mount.cpp Convert vendored/libfuse C sources to C++17 2026-03-24 21:13:34 -04:00
mount.hpp Convert vendored/libfuse C sources to C++17 2026-03-24 21:13:34 -04:00
mount_bsd.h Convert vendored/libfuse C sources to C++17 2026-03-24 21:13:34 -04:00
mount_generic.h Fallback to fusermount3 where available 2026-03-24 21:13:34 -04:00
mount_util.h replace raw C-strings with std::string in converted libfuse files 2026-03-24 21:13:34 -04:00
node.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
node.hpp Remove timed node removal 2026-05-06 20:49:46 -04:00
pin_threads.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
pin_threads.hpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
xalloc.hpp libfuse: harden fuse.cpp against NULL nodes; use lock guards; check allocations 2026-04-18 13:47:23 -05:00