Add ability to set readahead of mergerfs and branches

This commit is contained in:
Antonio SJ Musumeci 2023-02-28 23:10:36 -05:00
parent 6e845b337a
commit 486c5d3734
8 changed files with 188 additions and 7 deletions

View file

@ -105,6 +105,7 @@ Config::Config()
nullrw(false),
pid(::getpid()),
posix_acl(false),
readahead(0),
readdir(ReadDir::ENUM::POSIX),
readdirplus(false),
rename_exdev(RenameEXDEV::ENUM::PASSTHROUGH),
@ -176,6 +177,7 @@ Config::Config()
_map["nullrw"] = &nullrw;
_map["pid"] = &pid;
_map["posix_acl"] = &posix_acl;
_map["readahead"] = &readahead;
// _map["readdir"] = &readdir;
_map["readdirplus"] = &readdirplus;
_map["rename-exdev"] = &rename_exdev;