From a81ee2a98dea9b828280eed00855577e32a9e8e3 Mon Sep 17 00:00:00 2001 From: mulhern Date: Mon, 12 Aug 2024 15:31:55 -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) })