commit | 225ba9e3433cf27d8ff7b213d9f78b7ef2776c70 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Feb 26 14:31:15 2014 -0800 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 26 14:31:15 2014 -0800 |
tree | 42aa9c5b489de9ced5c4b6fc9ff8fbb1ff805e7b | |
parent | 5903e7b7907854014478b6febfc5645a203ff59e [diff] [blame] |
Branch and cache miss speedups Just some low hanging fruit. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/filesetup.c b/filesetup.c index 1acf6ad..2744d4f 100644 --- a/filesetup.c +++ b/filesetup.c
@@ -1010,7 +1010,7 @@ seed = td->rand_seeds[FIO_RAND_BLOCK_OFF]; - if (!lfsr_init(&f->lfsr, blocks, seed, seed & 0xF)) + if (!lfsr_init(&f->lfsr, blocks, seed, 0)) continue; } else if (!td->o.norandommap) { f->io_axmap = axmap_new(blocks);