[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#77680] [PATCH 0/4] Avoid 'fdatasync' calls for cache files
From: |
Ludovic Courtès |
Subject: |
[bug#77680] [PATCH 0/4] Avoid 'fdatasync' calls for cache files |
Date: |
Wed, 9 Apr 2025 16:21:27 +0200 |
Hello,
As Chris found out, calling ‘fdatasync’ for each and every narinfo
cache file created by ‘guix substitute’ (and likewise for other caches)
is too expensive and pointless. This patch series fixes that.
Thoughts?
Ludo’.
Ludovic Courtès (4):
cache: Remove unused import.
utils: Add #:sync? parameter to ‘with-atomic-file-output’.
substitutes: Ignore corrupt cached narinfos.
guix: Avoid ‘fdatasync’ call for caches and regular files.
guix/cache.scm | 1 -
guix/git-authenticate.scm | 5 +++--
guix/http-client.scm | 5 +++--
guix/scripts/discover.scm | 3 ++-
guix/scripts/style.scm | 5 +++--
guix/substitutes.scm | 8 +++++---
guix/utils.scm | 14 ++++++++++----
7 files changed, 26 insertions(+), 15 deletions(-)
base-commit: c88f98bb3ca2616baea6b1e452cc900cc9c87503
--
2.49.0
- [bug#77680] [PATCH 0/4] Avoid 'fdatasync' calls for cache files,
Ludovic Courtès <=
- [bug#77680] [PATCH 2/4] utils: Add #:sync? parameter to ‘with-atomic-file-output’., Ludovic Courtès, 2025/04/09
- [bug#77680] [PATCH 1/4] cache: Remove unused import., Ludovic Courtès, 2025/04/09
- [bug#77680] [PATCH 3/4] substitutes: Ignore corrupt cached narinfos., Ludovic Courtès, 2025/04/09
- [bug#77680] [PATCH 4/4] guix: Avoid ‘fdatasync’ call for caches and regular files., Ludovic Courtès, 2025/04/09
- [bug#77680] [PATCH v2 0/4] Avoid 'fdatasync' calls for cache files, Ludovic Courtès, 2025/04/11