Don't allow pre_read on IO engines that cannot seek
authorJens Axboe <jens.axboe@oracle.com>
Wed, 1 Jul 2009 10:26:28 +0000 (12:26 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 1 Jul 2009 10:26:28 +0000 (12:26 +0200)
commit9c0d224129b0c59698e4c77e7fed00dc8cbb50e1
treea7b60e256f4486ae61e370250366a14f8377425d
parentc103f2440db0ceab0eb6c0d6669be285766fb495
Don't allow pre_read on IO engines that cannot seek

We cannot pre-read files, if we cannot seek back and read the same
data again. So just disable it with a warning to the user.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
HOWTO
engines/net.c
engines/splice.c
filesetup.c
fio.1
init.c
ioengine.h