mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
add writeback caching
This commit is contained in:
parent
e6c8fa3fad
commit
903d39f968
10 changed files with 103 additions and 17 deletions
|
|
@ -281,6 +281,8 @@ parse_and_process_cache(Config &config_,
|
|||
return parse_and_process(value_,config_.cache_readdir);
|
||||
else if(func_ == "files")
|
||||
return parse_and_process(value_,config_.cache_files);
|
||||
else if(func_ == "writeback")
|
||||
return parse_and_process(value_,config_.writeback_cache);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
@ -461,6 +463,10 @@ usage(void)
|
|||
" * full: Keep cache on file open\n"
|
||||
" * auto-full: Keep cache if mtime & size not changed\n"
|
||||
" default = libfuse\n"
|
||||
" -o cache.writeback=<bool>\n"
|
||||
" Enable kernel writeback caching (if supported)\n"
|
||||
" cache.files must must be enabled as well.\n"
|
||||
" default = false\n"
|
||||
" -o cache.symlinks=<bool>\n"
|
||||
" Enable kernel caching of symlinks (if supported)\n"
|
||||
" default = false\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue