Add "per-process" file caching feature

Allows chosing page caching based on process name.
This commit is contained in:
Antonio SJ Musumeci
2023-02-18 01:16:36 -05:00
parent b51a5970b2
commit 9effeb6869
15 changed files with 363 additions and 55 deletions
+3
View File
@@ -21,6 +21,7 @@
#include "fs_umount2.hpp"
#include "mergerfs.hpp"
#include "option_parser.hpp"
#include "procfs_get_name.hpp"
#include "resources.hpp"
#include "strvec.hpp"
@@ -235,6 +236,8 @@ namespace l
if(cfg->lazy_umount_mountpoint)
l::lazy_umount(cfg->mountpoint);
procfs::init();
return fuse_main(args.argc,
args.argv,
&ops);