Skip to content

Commit

Permalink
prev
Browse files Browse the repository at this point in the history
  • Loading branch information
mulkieran committed Aug 13, 2024
1 parent 6b46787 commit 85a5273
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bin/utils/predict_usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@ impl V2usage {
.iter()
.map(|&s| {
(*s).checked_sub(*self.stratis_metadata_alloc)
.and_then(|r| r.checked_sub(*self.raid_metadata_alloc))
.and_then(|r| {
eprintln!("Deduction for raid space: {:}", self.raid_metadata_alloc);
r.checked_sub(*self.raid_metadata_alloc)
})
.and_then(|r| {
let integrity_deduction = integrity_meta_space(s);
eprintln!("Deduction for integrity space: {:}", integrity_deduction);
Expand Down

0 comments on commit 85a5273

Please sign in to comment.