Antonio SJ Musumeci
85026d5780
add FICLONE and copy_file_range to clonefile
If available FICLONE and copy_file_range will be tried in addition to sendfile
when copying data between two files. The fallback is a tradition read/write
loop. On systems that support these it should improve performance.
6 years ago
Antonio SJ Musumeci
1885a82cce
remove libattr dependency
6 years ago
Antonio SJ Musumeci
65f482e483
add ability to turn on/off xattr support at runtime
6 years ago
Antonio SJ Musumeci
8d1a1564bf
fix building on certain platforms
6 years ago
Antonio SJ Musumeci
93f7d7d927
add link_cow feature
When enabled if a regular file is opened which has a link count > 1 it will
copy the file to a temporary file and rename over the original. Effectively
breaking the link. This behavior is similar to cow-shell and other LD_PRELOAD
based "CoW" solutions.
6 years ago
Antonio SJ Musumeci
9afefef032
keep literal when glob fails
7 years ago
Antonio SJ Musumeci
f8563369bc
add security_capability option
6 years ago
Andrey Mazo
ec6adaa376
options: move "-o threads=" help text to libfuse/
Parsing of and acting upon "-o threads" option is done in the bundled `libfuse/`,
so move the corresponding help text there too.
This make help text consistent with behavior
when building against system libfuse,
which doesn't support this option.
7 years ago
Antonio SJ Musumeci
9830e29945
fix version generation
7 years ago
Antonio SJ Musumeci
cfe9c28a10
ignore clonepath metadata errors. fixes #470
7 years ago
Antonio SJ Musumeci
f48c16d162
stop clonepath at base directory. fixes #467
7 years ago
Antonio SJ Musumeci
1d6d22727c
call 32bit versions of set/geteuid on 32bit platforms
7 years ago
Antonio SJ Musumeci
75ed37a11a
add setting of thread pool size
8 years ago
Antonio SJ Musumeci
0708110ec1
improve khash performance
8 years ago
Antonio SJ Musumeci
a7b126cb48
use pragma once in headers
8 years ago
Antonio SJ Musumeci
a2bddec8c7
add 'ignore path preserving on rename' feature
8 years ago
Antonio SJ Musumeci
aea2b40dda
use temp files (then rename) when moving files for moveonenospc
8 years ago
Antonio SJ Musumeci
bfd410def2
use fusepath from fileinfo. closes #417
8 years ago
Antonio SJ Musumeci
7296d3d90d
add time.h to fix compiling on some platforms
8 years ago
Antonio SJ Musumeci
de0985c135
add libfuse 2.9.7 to repo and build against libfuse.a
8 years ago
Antonio SJ Musumeci
87c2f2f9dc
add nullrw feature to facilitate benchmarking
8 years ago
Antonio SJ Musumeci
6a7675f2bf
symlinkify: file -> symlink-to-original-file after timeout
8 years ago
Antonio SJ Musumeci
8ba3a08f40
make dropcacheonclose runtime configurable
8 years ago
Antonio SJ Musumeci
ccaa458739
better handle incomplete reads/writes in copying files
8 years ago
Antonio SJ Musumeci
162b99e6b8
enable nopath and nullpath_ok
8 years ago
Antonio SJ Musumeci
f15437c713
tweak movefile behavior
8 years ago
Antonio SJ Musumeci
2fbeb67dd9
hide fs::fadvise as it's not used directly
8 years ago
Antonio SJ Musumeci
8b976ab3c1
support older libfuse without utime_omit_ok flag
8 years ago
Antonio SJ Musumeci
1a1fa06aa3
fadvise cleanup
8 years ago
Antonio SJ Musumeci
617195d71e
enable utime_omit_ok flag
8 years ago
Antonio SJ Musumeci
be3eb7e3ed
work around getgrouplist signature difference on osx
8 years ago
Antonio SJ Musumeci
0600734942
handle 32bit and 64bit inode recalculation
8 years ago
Antonio SJ Musumeci
9d0798dbfb
restructure fadvise
8 years ago
Antonio SJ Musumeci
e2acffe55b
restructure fallocate abstraction
8 years ago
Antonio SJ Musumeci
42d454ac27
abstract futimesat
8 years ago
Antonio SJ Musumeci
0b2bf17cd7
abstract access to highres atime/mtime
8 years ago
Antonio SJ Musumeci
e20d566f96
use correct integer types
8 years ago
Antonio SJ Musumeci
c043ef95a3
make fs::attr return ENOTSUP on EINVAL #381
8 years ago
Antonio SJ Musumeci
6aa62d03ff
add option to drop file caches before closing files
8 years ago
Antonio SJ Musumeci
492d895632
check metadata on chown/chmod errors when cloning
8 years ago
Antonio SJ Musumeci
9cc9bb9de2
misc document updates
8 years ago
Antonio SJ Musumeci
a60d815e92
add ifndefs to all headers
8 years ago
Antonio SJ Musumeci
e93c946198
limit need to explicitly call .c_str()
8 years ago
Antonio SJ Musumeci
7b4e1ea36d
remove clone command
8 years ago
Antonio SJ Musumeci
726b88e039
restructure error calculation
8 years ago
Antonio SJ Musumeci
d67d5dec77
check for system.posix_acl_default before setting umask
8 years ago
Antonio SJ Musumeci
1aa76a54c2
use different read and write functions when using direct_io
8 years ago
Antonio SJ Musumeci
67b48fcb3a
compute inode in readdir
8 years ago
Antonio SJ Musumeci
c8fa51c81a
support setting of inodes (using use_ino option)
creates a 64bit inode value from the underlying device value + original inode
final_ino = orig_ino | (dev << 32)
not perfect but given few filesystems use 64bit inodes nor is st_dev more than 16bit usually it should be fine
8 years ago
Antonio SJ Musumeci
822204ff34
replace std::set with klib's khash to increase readdir performance
8 years ago