Subject: [PATCH v2 0/4] Avoid 'fdatasync' calls for cache files

From: Ludovic Courtès <[email-masked]>
Date: Fri, 11 Apr 2025 15:54:56 +0200

Changes since v1:

  • Patch #3 only tolerates empty narinfo files instead of
    doing (false-if-exception (read p)), as suggested by Chris.

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      |  5 ++++-
 guix/utils.scm            | 14 ++++++++++----
 7 files changed, 25 insertions(+), 13 deletions(-)

base-commit: 772b70455d0d5972fdad80d8529647dce20f409a
-- 
2.49.0