Skip to content

Commit 822ada9

Browse files
authored
Merge pull request #355 from areed/fs-perf-fix-timeout
Fix background IOPS blocking until timeout
2 parents ce81584 + 30f21ac commit 822ada9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/collect/host_filesystem_performance_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.Filesys
9797
jobs := hostCollector.BackgroundReadIOPSJobs + hostCollector.BackgroundWriteIOPSJobs
9898
done := make(chan bool, jobs)
9999
defer func() {
100+
cancel()
100101
for i := 0; i < jobs; i++ {
101102
<-done
102103
}

0 commit comments

Comments
 (0)