init: ensure that read/write use the same random seed for verify
If we are verifying, then reads need to use the same blockrange
random trim as writes. Otherwise doing a deferred verify of
a write job may not yield the same block size ranges, causing
verify to fail.
Example of failed job:
$ cat job.fio
[global]
ioengine=sync
verify=md5
bsrange=1k-16k
rw=randwrite
randseed=50
size=10m
filename=foo
[write]
rw=randwrite
do_verify=0
write_iolog=wlog
[read]
rw=randread
do_verify=1
verify_fatal=1
verify_dump=1
write_iolog=rlog
$ fio --section=write job.fio
$ fio --section=read job.fio
Fixes: https://github.com/axboe/fio/issues/582
Signed-off-by: Jens Axboe <axboe@kernel.dk>