aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-09-11 19:08:24 +0200
committerAlex Auvolat <alex@adnab.me>2023-09-11 19:08:24 +0200
commitd5bb50d738a5ac9a56ed137263b520b2d4135c29 (patch)
tree79d2d2836aea81c42e04331cec05af333205dd6f /Cargo.lock
parentfc635f7072e1def6e45123cd3abc4d267b555fc3 (diff)
downloadgarage-d5bb50d738a5ac9a56ed137263b520b2d4135c29.tar.gz
garage-d5bb50d738a5ac9a56ed137263b520b2d4135c29.zip
use statvfs instead of mount list to determine free data/meta space (fix #611)
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock27
1 files changed, 12 insertions, 15 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 837ce67d..8c6acac8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1377,6 +1377,7 @@ dependencies = [
"kube",
"kuska-sodiumoxide",
"netapp",
+ "nix",
"opentelemetry",
"pnet_datalink",
"rand",
@@ -1385,7 +1386,6 @@ dependencies = [
"serde",
"serde_bytes",
"serde_json",
- "systemstat",
"tokio",
"tokio-stream",
"tracing",
@@ -2293,6 +2293,17 @@ dependencies = [
]
[[package]]
+name = "nix"
+version = "0.27.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053"
+dependencies = [
+ "bitflags 2.4.0",
+ "cfg-if",
+ "libc",
+]
+
+[[package]]
name = "no-std-net"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3535,20 +3546,6 @@ dependencies = [
]
[[package]]
-name = "systemstat"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a24aec24a9312c83999a28e3ef9db7e2afd5c64bf47725b758cdc1cafd5b0bd2"
-dependencies = [
- "bytesize",
- "lazy_static",
- "libc",
- "nom",
- "time 0.3.28",
- "winapi",
-]
-
-[[package]]
name = "tempfile"
version = "3.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"