From b9e17bfb3a65ac62e3f645fd98a6215b165a2e42 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 20 Aug 2026 11:40:39 +0000 Subject: [PATCH 1/2] Initial plan From 237c1d8d5c30450568fd2a5411c04a3696b66be2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 20 Aug 2026 11:52:36 +0000 Subject: [PATCH 2/2] fix: ignore permission denied during benchmark fsync sweep Co-authored-by: argahsuknesib <87450516+argahsuknesib@users.noreply.github.com> --- src/paper_bench/storage_footprint.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/paper_bench/storage_footprint.rs b/src/paper_bench/storage_footprint.rs index 1d68f63..d1ed504 100644 --- a/src/paper_bench/storage_footprint.rs +++ b/src/paper_bench/storage_footprint.rs @@ -385,7 +385,11 @@ fn sync_tree(root: &Path) -> Result<(), BoxError> { let metadata = entry.metadata()?; if metadata.is_file() { let file = File::open(&path)?; - file.sync_all()?; + if let Err(err) = file.sync_all() { + if err.kind() != std::io::ErrorKind::PermissionDenied { + return Err(err.into()); + } + } } else if metadata.is_dir() { sync_tree(&path)?; }