Commit 47877156 authored by Fulvio Galeazzi's avatar Fulvio Galeazzi
Browse files

2019-09-29: FG; Fix bug causing missing info min/maxfrac when disk broken.

parent dfcf92f4
......@@ -235,6 +235,7 @@ if ($selectSizeOrDev) {
next if $aKey >= $selectMax;
foreach my $elem (sort {$a<=> $b} @{$dataSizeH{$aKey}}) {
next if ($thisHost && not exists $osdThisHost{$elem});
next if (not defined $dataHash{$elem}{$perfType});
print "PerfType;ush: OSD=$elem size=$aKey lat=".$dataHash{$elem}{$perfType}."\n" if (defined $opt_debug);
push (@latArray, $dataHash{$elem}{$perfType});
$count++;
......@@ -251,6 +252,7 @@ if ($selectSizeOrDev) {
next unless $aKey =~ $selectSize;
foreach my $elem (sort {$a<=> $b} @{$dataTypeH{$aKey}}) {
next if ($thisHost && not exists $osdThisHost{$elem});
next if (not defined $dataHash{$elem}{$perfType});
print "Push: OSD=$elem size=$aKey lat=".$dataHash{$elem}{$perfType}."\n" if (defined $opt_debug);
push (@latArray, $dataHash{$elem}{$perfType});
$count++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment