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.
4 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
4 years ago
Antonio SJ Musumeci
ec15872a1f
cleanup function signatures and definitions
4 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
5 years ago
Antonio SJ Musumeci
b55ebba4ed
add tagging branches RW/RO/NW
This allows users to tag a branch as readonly or not for writing regardless
of how the filesystem is mounted. Should simplify deployments and offer
more flexibility.
6 years ago
Antonio SJ Musumeci
a7b126cb48
use pragma once in headers
7 years ago
Antonio SJ Musumeci
a60d815e92
add ifndefs to all headers
8 years ago
Antonio SJ Musumeci
6086620e23
use references to srcmounts rather than copies
9 years ago
Antonio SJ Musumeci
242af777be
move from MIT to ISC license. closes #194
9 years ago
Antonio SJ Musumeci
8178bf518c
refactor and simplify getxattr for user.mergerfs.\*
9 years ago
Antonio SJ Musumeci
12f393a55e
per FUSE function policies. closes #52 , #53
10 years ago
Antonio SJ Musumeci
5dd072962b
remove longest common prefix from fsname. closes #38
10 years ago
Antonio SJ Musumeci
6c3ff01a0a
pass const strings by reference. closes #33
10 years ago
Antonio SJ Musumeci
7e9ccd0317
support runtime setting of srcmounts. closes #12
10 years ago
Antonio SJ Musumeci
bb7a966296
initial code commit
11 years ago