Improve random pattern without norandommap
authorJens Axboe <jens.axboe@oracle.com>
Mon, 21 May 2007 11:23:30 +0000 (13:23 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 21 May 2007 11:23:30 +0000 (13:23 +0200)
commit43c63a78d3f902b4bf941841579834bbfabd5c62
tree80d4c9e725cd081f35ee4b8cf1c8b83b913daf07
parentb12ebc65e82de1cc6174b65c79266dd0f0a4fbf3
Improve random pattern without norandommap

Using the random map, random workloads have a natural tendency to
get less random at the end of the run, due to failures to find a
new unused random offset.

Improve the logic to avoid this problem.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c