From a4be1951680c6a50eec05cfb5033d535b1779da8 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 13 Aug 2024 10:55:58 -0400 Subject: [PATCH] stash --- src/bin/utils/predict_usage.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/utils/predict_usage.rs b/src/bin/utils/predict_usage.rs index dc158b7b62..508ccc1b35 100644 --- a/src/bin/utils/predict_usage.rs +++ b/src/bin/utils/predict_usage.rs @@ -183,7 +183,8 @@ impl V2usage { r.checked_sub(*self.raid_metadata_alloc) }) .and_then(|r| { - let integrity_deduction = integrity_meta_space(s); + let integrity_deduction = + integrity_meta_space(s - self.stratis_metadata_alloc); eprintln!("Deduction for integrity space: {:}", integrity_deduction); r.checked_sub(*integrity_deduction) })