From 75ca726c295c244bc69007bea7039fd9ece810b3 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 20 Oct 2021 14:56:15 +0200 Subject: [PATCH] use new fsync parameter to replace_file and atomic_open_or_create Depend on proxmox 0.15.0 and proxmox-openid 0.8.1 Signed-off-by: Dietmar Maurer --- proxmox-rrd/Cargo.toml | 2 +- proxmox-rrd/src/cache/journal.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/proxmox-rrd/Cargo.toml b/proxmox-rrd/Cargo.toml index 67095689..7e1b2cb6 100644 --- a/proxmox-rrd/Cargo.toml +++ b/proxmox-rrd/Cargo.toml @@ -19,6 +19,6 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_cbor = "0.11.1" -proxmox = { version = "0.14.0" } +proxmox = { version = "0.15.0" } proxmox-time = "1" proxmox-schema = { version = "1", features = [ "api-macro" ] } diff --git a/proxmox-rrd/src/cache/journal.rs b/proxmox-rrd/src/cache/journal.rs index 85e3906a..a85154a4 100644 --- a/proxmox-rrd/src/cache/journal.rs +++ b/proxmox-rrd/src/cache/journal.rs @@ -113,6 +113,7 @@ impl JournalState { flags, &[], self.config.file_options.clone(), + false, )?; Ok(BufReader::new(journal)) } @@ -127,6 +128,7 @@ impl JournalState { flags, &[], config.file_options.clone(), + false, )?; Ok(journal) }