From 8be1fcb3a4db89abcd6e8c9e3e66a5a48237345c Mon Sep 17 00:00:00 2001 From: xirvik Date: Wed, 26 Aug 2026 02:03:53 +0000 Subject: [PATCH] Return m_use_fsyncdisk from SessionManager::use_fsyncdisk. system.files.session.fdatasync always reported true even when disabled. --- src/session/session_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session/session_manager.h b/src/session/session_manager.h index eff135ac..5a135552 100644 --- a/src/session/session_manager.h +++ b/src/session/session_manager.h @@ -126,7 +126,7 @@ private: inline bool SessionManager::is_used() const { return !m_path.empty(); } inline std::string SessionManager::path() const { return m_path; } -inline bool SessionManager::use_fsyncdisk() const { return true; } +inline bool SessionManager::use_fsyncdisk() const { return m_use_fsyncdisk; } inline bool SessionManager::use_lock() const { return m_use_lock; } inline void SessionManager::flush_all_pending_builds() { process_pending_builds(true); }