filesetup: print warning if chosen random generator can't cover range
authorJens Axboe <axboe@fb.com>
Sat, 30 May 2015 01:40:21 +0000 (19:40 -0600)
committerJens Axboe <axboe@fb.com>
Sat, 30 May 2015 01:40:21 +0000 (19:40 -0600)
commit37fbd7e9dd4f041b858507b3db06753614083770
treeb927c427244d0abe4b774f3cefd9738e3ab80a82
parentc3546b531f48a2ff413c9508aed465e0145c8dfc
filesetup: print warning if chosen random generator can't cover range

If the file or device is huge, we could have an issue with the
default 32-bit random offset generator in that it wont cover
the entire device. If fio detects this and the random generator
wasn't explicitly set, then log an error and exit.

Signed-off-by: Jens Axboe <axboe@fb.com>
filesetup.c