fix: apply cache.statfs given at mount

- The statvfs cache timeout was only set from the runtime xattr path
  in fuse_setxattr. cache.statfs=N given at mount was stored in the
  config and reported back, but the cache stayed off and every
  policy check paid a raw statvfs.
- Set the timeout in options::parse before finish_initializing. The
  default (0) is unchanged.
This commit is contained in:
Antonio SJ Musumeci 2026-11-21 14:34:53 -05:00
parent 5e74822f91
commit 3735d7215d

View file

@ -347,6 +347,8 @@ namespace options
::_set_subtype(args_); ::_set_subtype(args_);
::_cleanup_options(); ::_cleanup_options();
fs::statvfs_cache_timeout(cfg.cache_statfs);
cfg.finish_initializing(); cfg.finish_initializing();
} }
} }