From 3735d7215daea72607cdd482235b2cf4d5f898b2 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sat, 21 Nov 2026 14:34:53 -0500 Subject: [PATCH] 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. --- src/option_parser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/option_parser.cpp b/src/option_parser.cpp index 7d885722..96a1af4f 100644 --- a/src/option_parser.cpp +++ b/src/option_parser.cpp @@ -347,6 +347,8 @@ namespace options ::_set_subtype(args_); ::_cleanup_options(); + fs::statvfs_cache_timeout(cfg.cache_statfs); + cfg.finish_initializing(); } }