trapexit
569a151da2
Add ability to proxy ioprio of client apps ( #1534 )
1 week ago
trapexit
8c649d33ee
Start using std::filesystem::path for fusepath ( #1522 )
2 weeks ago
trapexit
f64ff9ca1e
Revert removal of readdir init setup, simplify cfg usage ( #1520 )
4 weeks ago
Max.-F. Helm
dd1bea52cd
Allow empty lines in config ini files ( #1509 )
* Allow empty lines in config files
* Add example comment to ini example in docs/quickstart.md
---------
Co-authored-by: Max-F-Helm <m7t24zklr@relay.firefox.com>
2 months ago
trapexit
2b500f194a
Rework of runtime interface ( #1498 )
Also have special error handling for when branches are invalid and
ENOENT would be returned for getattr and readdir so users understand
what is going on and the runtime interface can still be used to fix
the problem.
3 months ago
trapexit
f852474073
Update the secondary group cache ( #1492 )
* Use concurrent_flat_map to build a global cache rather than per
thread.
* Create global maintanence thread manager for clearing unused cache
entries.
3 months ago
trapexit
eb124316c9
Set default read thread count to 0 ( #1484 )
3 months ago
trapexit
e310d24615
Add support for FUSE passthrough
4 months ago
trapexit
86b50d2d4e
Rework policies to return branches rather than path strings
5 months ago
trapexit
344014aa81
Rework thread pool for increased stability + config and doc updates ( #1453 )
Also updates fmt to 11.2.0 and replaced syslog usage with a wrapper
leveraging fmt.
5 months ago
Antonio SJ Musumeci
2b04a791b7
Add config option to control default_permissions
Defaults true but there might be some situations where it is useful to
disable.
5 months ago
Antonio SJ Musumeci
de2a82800a
Improve mount waiting + misc doc improvements
Adds user.mergerfs.branch and user.mergerfs.branch_mounts_here
Adds .mergerfs.branch and .mergerfs.branch_mounts_here files.
6 months ago
Antonio SJ Musumeci
b7f7f7fa97
Change misc defaults
* category.create=pfrd
* moveonenospc=pfrd
* cache.files=off
* parallel-direct-writes=true
These changes were made to match the recommended settings for most
users to reduce confusion.
6 months ago
Antonio SJ Musumeci
92ae63e842
Support Linux v6.13 FUSE max_page_limit
6 months ago
Antonio SJ Musumeci
f0444a1ca9
Add support for 'direct-io-allow-mmap' if supported by kernel
2 years ago
Antonio SJ Musumeci
0ca5d6aad0
Add export-support option as possible workaround for NFS EIO issues
2 years ago
Antonio SJ Musumeci
f66fb7e2d4
Fix user.mergerfs.pid
2 years ago
Antonio SJ Musumeci
bd70928268
Set flush-on-close default to opened-for-write
2 years ago
Antonio SJ Musumeci
6aa6452d3e
Add flushonclose feature
2 years ago
Antonio SJ Musumeci
c92a10021e
Add readdir policies
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
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.
3 years ago
Antonio SJ Musumeci
0a64d74b4b
Change default read-thread-count from -1 to 0 as documented
3 years ago
Antonio SJ Musumeci
1c5b0f2f5f
Fix loading readonly / write once options from file
3 years ago
Antonio SJ Musumeci
486c5d3734
Add ability to set readahead of mergerfs and branches
3 years ago
Antonio SJ Musumeci
9effeb6869
Add "per-process" file caching feature
Allows chosing page caching based on process name.
3 years ago
Antonio SJ Musumeci
9adddfc66d
Add option to lazy umount target mount point
3 years ago
Antonio SJ Musumeci
a7113bb163
Allow setting of scheduling priority
3 years ago
Antonio SJ Musumeci
939eb3996a
Add option to wait for branches to become new mounts
branches-mount-timeout=UINT64 in seconds (default: 0)
3 years ago
Antonio SJ Musumeci
24423b8d2a
Add async message processing
3 years ago
Antonio SJ Musumeci
18dead4d86
Add new debug printing routines
4 years ago
Antonio SJ Musumeci
8adebc9489
new features: follow-symlinks, rename-exdev, link-exdev
* follow-symlinks: allows mergerfs to transparently follow symlinks
* link-exdev: in the event a link returns EXDEV create a symlink instead
* rename-exdev: in the event a rename returns EXDEV move the oldpath and
create a symlink for the newpath
5 years ago
Antonio SJ Musumeci
538467b86d
config: rework global config, remove rwlock, make branches RCU like
Also added unit tests. Should have done separately but found a number of bugs.
5 years ago
Antonio SJ Musumeci
fc3453932a
branches: add per branch minfreespace w/ original value as default
example: /mnt/disk0=RW,1G:/mnt/disk1=RW,2G
5 years ago
Antonio SJ Musumeci
2696079601
break fs.hpp up into separate files
5 years ago
Antonio SJ Musumeci
15a0aedd25
cleanup: move some config data structures to separate files
5 years ago
Antonio SJ Musumeci
93218a343a
NFS open/creat hack
A hack to work around non-POSIX NFS <-> FUSE behavior where it turns
an open(O_EXCL|O_CREAT,0444) into multiple calls that results in
EACCES.
5 years ago
Antonio SJ Musumeci
b4397f7f2e
add 'inodecalc' option to allow selection of inode calculation algo
5 years ago
Antonio SJ Musumeci
dbdd3e22fc
additional readdir refactor cleanup
Differences between readdir and getdents is minimal at best. Leaving code
for now to allow for possible expansion later.
5 years ago
Antonio SJ Musumeci
54c41c4994
rework config management
* Add standard way to do str2val and val2str conversion
* Add support for a config file
* Add support for reading and writing settings via ioctl
6 years ago
Antonio SJ Musumeci
d119807adb
restructure readdir, add readdir_plus
Does not enable READDIR_AUTO. Might add in the future.
6 years ago
Antonio SJ Musumeci
903d39f968
add writeback caching
6 years ago
Antonio SJ Musumeci
7cbd88ac81
allow setting of 'max_pages' (via 'fuse_msg_size')
Linux 4.20 and above allow setting the number of pages per FUSE message
upto 256 (4K * 256 = 1MiB). This can greatly increase read and write
speeds depending on the workload.
6 years ago
Antonio SJ Musumeci
529a953e30
add file caching across opens and runtime control
6 years ago
Antonio SJ Musumeci
ddf6a2f105
make async_read optional again
6 years ago
Antonio SJ Musumeci
1baa706d37
add symlink caching
6 years ago
Antonio SJ Musumeci
80d56ac94e
add support for POSIX ACLs
6 years ago
Antonio SJ Musumeci
9d9ee7b71d
general code cleanup
7 years ago
Antonio SJ Musumeci
680f8194f9
add ability to change statfs behavior
7 years ago