Antonio SJ Musumeci
fb5add18f9
fuse_lowlevel.c
9 months ago
Antonio SJ Musumeci
025300eaf6
fuse_lowlevel.c
9 months ago
Antonio SJ Musumeci
3d1a9005c1
fuse_lowlevel.c
9 months ago
Antonio SJ Musumeci
e5b647cb57
fuse_lowlevel.c
9 months ago
Antonio SJ Musumeci
893e0d4c94
fuse_lowlevel.c
9 months ago
Antonio SJ Musumeci
d472fb1b12
debug.c
9 months ago
Antonio SJ Musumeci
2bac614a40
fuse_lowlevel.c
9 months ago
Antonio SJ Musumeci
974e01a4b1
fuse_lowlevel.c
9 months ago
Antonio SJ Musumeci
c9b7ed5b8a
Add support for file io passthrough
If using Linux 6.9 or above and enabled (passthrough=true) files
opened or created will use the FUSE passthrough feature.
If direct-io=true / cache.files=off it will override passthrough. If
direct-io-allow-mmap is enabled only mmap will passthrough.
HANDLE_KILLPRIV and V2 are enabled now by default to remove the
kernel's need to issue getattr and getxattr requests.
moveonenospc will not work when leveraging passthrough.
9 months ago
Antonio SJ Musumeci
f0444a1ca9
Add support for 'direct-io-allow-mmap' if supported by kernel
10 months ago
Antonio SJ Musumeci
951eb9540d
Ensure lookups of FUSE_ROOT_ID always return generation=0
10 months ago
Antonio SJ Musumeci
0ca5d6aad0
Add export-support option as possible workaround for NFS EIO issues
10 months ago
Antonio SJ Musumeci
17fdbf7f42
Update fuse_kernel.h
10 months ago
Antonio SJ Musumeci
d6a2f06797
Only set allow_other when running as root
1 year ago
Antonio SJ Musumeci
6aa6452d3e
Add flushonclose feature
1 year ago
Antonio SJ Musumeci
fd33df04a3
Update wyhash to 4.2
1 year ago
Antonio SJ Musumeci
569537df9e
Remove use of pthread_getname_np to work with older musl versions
1 year ago
Antonio SJ Musumeci
620cab2948
Rework thread pool queue depth impl
1 year ago
Antonio SJ Musumeci
766b923116
Fix thread pool destruction where threads don't explicitly exit themselves
1 year ago
Antonio SJ Musumeci
6d2c99e487
Remove unneeded debug logging from thread pool
1 year ago
Antonio SJ Musumeci
0a94bd7cfc
Rework thread pool, add ability to add/remove threads at runtime
1 year ago
Antonio SJ Musumeci
76c8d48dbd
Change threadpool to use concurrentqueue
1 year ago
Antonio SJ Musumeci
0ed03a1535
Use relaxed memory order for atomic counters
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
eb141c4c4e
Fix logging pin-threads details
1 year ago
Antonio SJ Musumeci
51d97bb444
Move fuse thread args out of fuse session object
1 year ago
Antonio SJ Musumeci
22833bdfe2
Align msg buffer memory to allow O_DIRECT to work
1 year ago
Antonio SJ Musumeci
fa537961c5
Simplify syslog wrapper a bit
2 years ago
Antonio SJ Musumeci
5d6c9cc56a
Fix build on older distros due to std::atomic definitions
std::atomic_uint64_t missing in some older distros
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
6bc3d77992
Fix crash when exiting with open deleted files
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
34310170ac
Add ability to pin read and processing threads
2 years ago
Antonio SJ Musumeci
9adddfc66d
Add option to lazy umount target mount point
2 years ago
Antonio SJ Musumeci
a4491169b0
Remove FUSE_USE_VERSION, no longer used
2 years ago
Antonio SJ Musumeci
7ed91c1668
Backport bug fixes from libfuse3
2 years ago
Antonio SJ Musumeci
92ccfd3c89
Hard code setting of allow_other, ignore when set
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
094ad862e7
Fix regression testing for implemented functions
2 years ago
Antonio SJ Musumeci
a6ca96fa08
Fix printf for 32bit systems
2 years ago
Antonio SJ Musumeci
d14427ad9e
Fix reading of setxattr name
2 years ago
Antonio SJ Musumeci
ddf5e53aa4
Misc cleanup
2 years ago
Antonio SJ Musumeci
7606430188
Remove libfuse abstraction in prep for adding request data
2 years ago
Antonio SJ Musumeci
dba9c4451a
Remove write_buf, simplify FUSE msg dispatching
2 years ago