|
|
@ -85,64 +85,64 @@ Config::Config() |
|
|
|
: |
|
|
|
foo(fuse_cfg.debug,false), |
|
|
|
allow_idmap(false), |
|
|
|
async_read(true), |
|
|
|
auto_cache(false), |
|
|
|
minfreespace(MINFREESPACE_DEFAULT), |
|
|
|
branches(minfreespace), |
|
|
|
branches_mount_timeout(0), |
|
|
|
branches_mount_timeout_fail(false), |
|
|
|
cache_attr(1), |
|
|
|
cache_entry(1), |
|
|
|
cache_files(CacheFiles::ENUM::OFF), |
|
|
|
cache_files_process_names(CACHE_FILES_PROCESS_NAMES_DEFAULT), |
|
|
|
cache_negative_entry(0), |
|
|
|
cache_readdir(false), |
|
|
|
cache_statfs(0), |
|
|
|
cache_symlinks(false), |
|
|
|
category(func), |
|
|
|
direct_io(false), |
|
|
|
direct_io_allow_mmap(true), |
|
|
|
dropcacheonclose(false), |
|
|
|
export_support(true), |
|
|
|
flushonclose(FlushOnClose::ENUM::OPENED_FOR_WRITE), |
|
|
|
follow_symlinks(FollowSymlinks::ENUM::NEVER), |
|
|
|
fsname(), |
|
|
|
func(), |
|
|
|
fuse_msg_size("1M"), |
|
|
|
gid_cache_expire_timeout(60 * 60), |
|
|
|
gid_cache_remove_timeout(60 * 60 * 12), |
|
|
|
ignorepponrename(false), |
|
|
|
inodecalc("hybrid-hash"), |
|
|
|
lazy_umount_mountpoint(false), |
|
|
|
link_cow(false), |
|
|
|
link_exdev(LinkEXDEV::ENUM::PASSTHROUGH), |
|
|
|
log_metrics(false), |
|
|
|
mountpoint(), |
|
|
|
moveonenospc(true), |
|
|
|
nfsopenhack(NFSOpenHack::ENUM::OFF), |
|
|
|
nullrw(false), |
|
|
|
parallel_direct_writes(true), |
|
|
|
posix_acl(false), |
|
|
|
proxy_ioprio(false), |
|
|
|
readahead(0), |
|
|
|
readdir("seq"), |
|
|
|
readdirplus(false), |
|
|
|
rename_exdev(RenameEXDEV::ENUM::PASSTHROUGH), |
|
|
|
scheduling_priority(-10), |
|
|
|
security_capability(true), |
|
|
|
srcmounts(branches), |
|
|
|
statfs(StatFS::ENUM::BASE), |
|
|
|
statfs_ignore(StatFSIgnore::ENUM::NONE), |
|
|
|
symlinkify(false), |
|
|
|
symlinkify_timeout(3600), |
|
|
|
fuse_read_thread_count(0), |
|
|
|
fuse_process_thread_count(-1), |
|
|
|
fuse_process_thread_queue_depth(2), |
|
|
|
fuse_pin_threads("false"), |
|
|
|
version(MERGERFS_VERSION), |
|
|
|
writeback_cache(false), |
|
|
|
xattr(XAttr::ENUM::PASSTHROUGH), |
|
|
|
_initialized(false) |
|
|
|
async_read(true), |
|
|
|
auto_cache(false), |
|
|
|
minfreespace(MINFREESPACE_DEFAULT), |
|
|
|
branches(minfreespace), |
|
|
|
branches_mount_timeout(0), |
|
|
|
branches_mount_timeout_fail(false), |
|
|
|
cache_attr(1), |
|
|
|
cache_entry(1), |
|
|
|
cache_files(CacheFiles::ENUM::OFF), |
|
|
|
cache_files_process_names(CACHE_FILES_PROCESS_NAMES_DEFAULT), |
|
|
|
cache_negative_entry(0), |
|
|
|
cache_readdir(false), |
|
|
|
cache_statfs(0), |
|
|
|
cache_symlinks(false), |
|
|
|
category(func), |
|
|
|
direct_io(false), |
|
|
|
direct_io_allow_mmap(true), |
|
|
|
dropcacheonclose(false), |
|
|
|
export_support(true), |
|
|
|
flushonclose(FlushOnClose::ENUM::OPENED_FOR_WRITE), |
|
|
|
follow_symlinks(FollowSymlinks::ENUM::NEVER), |
|
|
|
fsname(), |
|
|
|
func(), |
|
|
|
fuse_msg_size("1M"), |
|
|
|
gid_cache_expire_timeout(60 * 60), |
|
|
|
gid_cache_remove_timeout(60 * 60 * 12), |
|
|
|
ignorepponrename(false), |
|
|
|
inodecalc("hybrid-hash"), |
|
|
|
lazy_umount_mountpoint(false), |
|
|
|
link_cow(false), |
|
|
|
link_exdev(LinkEXDEV::ENUM::PASSTHROUGH), |
|
|
|
log_metrics(false), |
|
|
|
mountpoint(), |
|
|
|
moveonenospc(true), |
|
|
|
nfsopenhack(NFSOpenHack::ENUM::OFF), |
|
|
|
nullrw(false), |
|
|
|
parallel_direct_writes(true), |
|
|
|
posix_acl(false), |
|
|
|
proxy_ioprio(false), |
|
|
|
readahead(0), |
|
|
|
readdir("seq"), |
|
|
|
readdirplus(false), |
|
|
|
rename_exdev(RenameEXDEV::ENUM::PASSTHROUGH), |
|
|
|
scheduling_priority(-10), |
|
|
|
security_capability(true), |
|
|
|
srcmounts(branches), |
|
|
|
statfs(StatFS::ENUM::BASE), |
|
|
|
statfs_ignore(StatFSIgnore::ENUM::NONE), |
|
|
|
symlinkify(false), |
|
|
|
symlinkify_timeout(3600), |
|
|
|
fuse_read_thread_count(0), |
|
|
|
fuse_process_thread_count(-1), |
|
|
|
fuse_process_thread_queue_depth(2), |
|
|
|
fuse_pin_threads("false"), |
|
|
|
version(MERGERFS_VERSION), |
|
|
|
writeback_cache(false), |
|
|
|
xattr(XAttr::ENUM::PASSTHROUGH), |
|
|
|
_initialized(false) |
|
|
|
{ |
|
|
|
_map["allow-idmap"] = &allow_idmap; |
|
|
|
_map["async_read"] = &async_read; |
|
|
|