mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Ensure passthrough and keep_cache are mutually exclusive (#1493)
This commit is contained in:
parent
f852474073
commit
fa851eda3a
2 changed files with 3 additions and 3 deletions
|
|
@ -262,8 +262,8 @@ _postprocess_passthrough(Config::Write &cfg_)
|
|||
if(cfg_->cache_files == CacheFiles::ENUM::OFF)
|
||||
{
|
||||
SysLog::warning("'cache.files' can not be 'off' when using 'passthrough'."
|
||||
" Setting 'cache.files=auto-full'");
|
||||
cfg_->cache_files = CacheFiles::ENUM::AUTO_FULL;
|
||||
" Setting 'cache.files=full'");
|
||||
cfg_->cache_files = CacheFiles::ENUM::FULL;
|
||||
}
|
||||
|
||||
if(cfg_->writeback_cache == true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue