Use unique seed for zipf/pareto init if rand_repeat is not set
authorJens Axboe <axboe@kernel.dk>
Sat, 17 Nov 2012 17:06:36 +0000 (10:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 17 Nov 2012 17:06:36 +0000 (10:06 -0700)
commit8425687edef1b2961a17bd58341686f7b598cf28
treee69254b47b1ccff2338ff942ab3b6e8a7d71f1aa
parent79f9ec8f0a402b23b0ebf574f5e6b0ac4b8cd2fd
Use unique seed for zipf/pareto init if rand_repeat is not set

By default, fio uses repeatable random sequences for anything.
This makes it easy to run the same job again. But if this is
disabled, ensure that the zipf/pareto sequences are also
randomized. Re-use the normal random io offset seed for
the random distribution too.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
filesetup.c