Skip to content

Commit

Permalink
fix: IOPerdrive to be '4' if not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Nov 5, 2023
1 parent cc79779 commit 52d47e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/dperf/perf.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ func (d *DrivePerf) Run(ctx context.Context, paths ...string) (results []*DriveP
return results, nil
}

if d.IOPerDrive == 0 {
d.IOPerDrive = 4
}

var wg sync.WaitGroup
wg.Add(len(paths))
for i, path := range paths {
Expand Down

0 comments on commit 52d47e8

Please sign in to comment.