rio: convert Size to bytes for extent calculation
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
9360e55851
commit
9baf9a3876
@ -35,7 +35,7 @@ class IoGen:
|
||||
self.random = random
|
||||
self.randommap = randommap
|
||||
|
||||
gen = list(range(extent[0], extent[1], blocksize))
|
||||
gen = list(range(extent[0].B, extent[0].B + extent[1].B, blocksize.B))
|
||||
self.cycle_len = len(gen)
|
||||
|
||||
if random:
|
||||
|
Loading…
Reference in New Issue
Block a user