mirror of
https://codeberg.org/scip/io-exporter.git
synced 2025-12-16 20:11:00 +01:00
fix #4: do not compare read+write block on failure
This commit is contained in:
@@ -53,7 +53,7 @@ func (exp *Exporter) RunIOchecks() *sync.WaitGroup {
|
||||
slog.Debug("elapsed read time", "elapsed", res_r.elapsed, "result", res_r.result)
|
||||
}
|
||||
|
||||
if exp.conf.WriteMode && exp.conf.ReadMode {
|
||||
if (exp.conf.WriteMode && exp.conf.ReadMode) && (res_r.result && res_w.result) {
|
||||
if !exp.alloc.Compare() {
|
||||
res_r.result = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user