Fix issue #55
This commit is contained in:
parent
6c4381c3a5
commit
d4f24eafb6
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ def run_iobenchmark():
|
||||||
c = int(IO_VARS['Chunk Size'] / IO_VARS['Block Size'])
|
c = int(IO_VARS['Chunk Size'] / IO_VARS['Block Size'])
|
||||||
if skip_extra and i % skip_extra == 0:
|
if skip_extra and i % skip_extra == 0:
|
||||||
s += 1
|
s += 1
|
||||||
cmd = 'sudo dd bs={b} skip={s} count={c} if=/dev/{n} of={o}'.format(
|
cmd = 'sudo dd bs={b} skip={s} count={c} if=/dev/{n} of={o} iflag=direct'.format(
|
||||||
b=IO_VARS['Block Size'],
|
b=IO_VARS['Block Size'],
|
||||||
s=offset+s,
|
s=offset+s,
|
||||||
c=c,
|
c=c,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue