mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
Add "per-process" file caching feature
Allows chosing page caching based on process name.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user