commit | 2f073b09812255edca0f5854d36720418db88912 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Sat Feb 17 02:09:01 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Sat Feb 17 02:09:01 2007 +0100 |
tree | 6f5171d0cc958b63b5341f074cf79225f2a9fe8d | |
parent | 5bf13a5a5f01986c5b87db26f0cadf95af133188 [diff] |
[PATCH] Fix random seed for numjobs > 1 If you had numjobs larger than 1, then each shared job would get the same random seed, resulting in the exact same io pattern. Multiply the seed with the thread number, that will still get repeatable patterns but only per-thread/process. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>