Antonio SJ Musumeci
6d2c99e487
Remove unneeded debug logging from thread pool
1 year ago
Antonio SJ Musumeci
b91cc1c191
Add website and license to version option
1 year ago
Antonio SJ Musumeci
0a94bd7cfc
Rework thread pool, add ability to add/remove threads at runtime
1 year ago
Antonio SJ Musumeci
335ca55a6e
Add proper input validation for readdir policy
1 year ago
Antonio SJ Musumeci
76c8d48dbd
Change threadpool to use concurrentqueue
1 year ago
Antonio SJ Musumeci
0c555e71a0
Initialize readdir threadpool after daemonizing
1 year ago
Antonio SJ Musumeci
8d7017273f
Misc fixes for older platforms
1 year ago
Antonio SJ Musumeci
0ed03a1535
Use relaxed memory order for atomic counters
1 year ago
Antonio SJ Musumeci
fdecabfaab
Update wyhash to final4
1 year ago
Antonio SJ Musumeci
e586d2fd1e
Fix setting of ugids for concurrent readdir
1 year ago
Antonio SJ Musumeci
2377cb05b6
Add thread names for easier debugging
1 year ago
Antonio SJ Musumeci
0aafdefc18
Add ability to invalidate gid cache on demand
SIGUSR2 or ioctl
1 year ago
Antonio SJ Musumeci
6dcf6111af
Add callbacks for newer functions
* setupmapping
* removemapping
* syncfs
* tmpfile
1 year ago
Antonio SJ Musumeci
c92a10021e
Add readdir policies
1 year ago
Antonio SJ Musumeci
51d97bb444
Move fuse thread args out of fuse session object
1 year ago
Antonio SJ Musumeci
556c6522c0
Update fmt to v10.0.0
1 year ago
Antonio SJ Musumeci
543603bdfc
Update ghc::filesystem to v1.5.14
1 year ago
Antonio SJ Musumeci
707d298d7c
Create functions can set branches RO on EROFS
1 year ago
Antonio SJ Musumeci
fa537961c5
Simplify syslog wrapper a bit
1 year ago
Antonio SJ Musumeci
2722f4f64d
Fix error handling for cached writes
2 years ago
Antonio SJ Musumeci
5ab0fbcaee
Add manual GC triggering + configurable process queue depth
Yes, these are unrelated changes but somehow ended up being
prototyped together and I'm too lazy to separate them.
2 years ago
Antonio SJ Musumeci
6a14a10e6c
Fix read/write behavior and return value depending on direct_io
Also add parallel direct write option for 6.2+ kernels.
2 years ago
Antonio SJ Musumeci
82430e1079
Fix moveonenospc when file opened with append mode
2 years ago
Antonio SJ Musumeci
c72997f298
Make srcmounts readonly
All tools only read from srcmounts and the current setup had a bug
which caused branch mode and minfreespace to be stripped when using
config file.
2 years ago
Antonio SJ Musumeci
cdcfef2ceb
Remove duplicate entries in docs
2 years ago
Antonio SJ Musumeci
0a64d74b4b
Change default read-thread-count from -1 to 0 as documented
2 years ago
Antonio SJ Musumeci
26fd11cb4d
Workaround older gcc bug with namespacing std::hash
2 years ago
Antonio SJ Musumeci
eebd6e9eb4
Actively report to syslog when waiting for mounts
2 years ago
Antonio SJ Musumeci
1c5b0f2f5f
Fix loading readonly / write once options from file
2 years ago
Ilya Taranov
d04e04e89a
Fix config file parsing
2 years ago
Antonio SJ Musumeci
486c5d3734
Add ability to set readahead of mergerfs and branches
2 years ago
Antonio SJ Musumeci
373d331f39
Rework fuse read to use same buffers as messages
2 years ago
Antonio SJ Musumeci
84592a9f13
Remove splicing features
After numerous tests it was found the splice features were at best
the same performance as standard IO and at worse actually slower.
To simplify the code all splice features are removed.
2 years ago
Antonio SJ Musumeci
9effeb6869
Add "per-process" file caching feature
Allows chosing page caching based on process name.
2 years ago
Antonio SJ Musumeci
2d9c915641
Return NOTTY for all btrfs ioctl calls
mergerfs tries to pass through ioctl calls but due to the complexity
of btrfs calls their is risk of segfaults. In the future it may be
required to whitelist all supported ioctl calls.
2 years ago
Antonio SJ Musumeci
9adddfc66d
Add option to lazy umount target mount point
2 years ago
Antonio SJ Musumeci
3e313cd605
Forbid adding mountpoint to branch list
2 years ago
Antonio SJ Musumeci
92ccfd3c89
Hard code setting of allow_other, ignore when set
2 years ago
Antonio SJ Musumeci
a7113bb163
Allow setting of scheduling priority
2 years ago
Antonio SJ Musumeci
939eb3996a
Add option to wait for branches to become new mounts
branches-mount-timeout=UINT64 in seconds (default: 0)
2 years ago
Antonio SJ Musumeci
3ee93d4c56
Remove 'nonempty' argument
This makes it like all other filesystems and brings it into alignment
with libfuse3's behavior.
2 years ago
Antonio SJ Musumeci
d11807ef7c
Remove use_ino option and make behavior same as if set
2 years ago
Antonio SJ Musumeci
24423b8d2a
Add async message processing
2 years ago
Antonio SJ Musumeci
a6ca96fa08
Fix printf for 32bit systems
2 years ago
Antonio SJ Musumeci
7606430188
Remove libfuse abstraction in prep for adding request data
2 years ago
Antonio SJ Musumeci
32e2c9c48e
Tweaks for 32bit systems
2 years ago
Antonio SJ Musumeci
3b0d7fb26e
Fix setting of stat vars for symlinkify
2 years ago
Antonio SJ Musumeci
46ce28b149
Error when given invalid policy names
3 years ago
Andrea Gelmini
338e559e53
Fix typos
3 years ago
Antonio SJ Musumeci
c9a935835f
Fix query of attr during symlink
Using getattr when follow-symlink is enabled causes invalid type to the kernel
if symlink pointed to non-symlink.
3 years ago