mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Add "per-process" file caching feature
Allows chosing page caching based on process name.
This commit is contained in:
parent
b51a5970b2
commit
9effeb6869
15 changed files with 363 additions and 55 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue