options: full control of fadvise hinting
authorJens Axboe <axboe@fb.com>
Mon, 19 Dec 2016 20:58:42 +0000 (13:58 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 19 Dec 2016 20:58:42 +0000 (13:58 -0700)
commitecb2083d39558db2664c41b5d78aa73cd51bff58
tree5e71b42084d5cb04e55f7e32f29667ded7951122
parent104ee4dea7246d51d053076c55b917548dd0e7e2
options: full control of fadvise hinting

Previously fio supported only 0/1 for this hint. 0 would not do any
hints, but 1 (the default) would hint based on what the fio workload
was - fio would tell the kernel it was a random workload, if it was
random, or a sequential for a sequential workload.

Now fio also supports setting what the hint type should be explicitly,
by allowing a setting of 'random' or 'sequential' for full control
of the hint.

Signed-off-by: Jens Axboe <axboe@fb.com>
HOWTO
fio.1
fio.h
ioengines.c
options.c