implement zoned random I/O testing support
authorSteven Noonan <snoonan@amazon.com>
Tue, 31 Jan 2012 12:58:00 +0000 (13:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 Jan 2012 12:58:00 +0000 (13:58 +0100)
commited33585509a97c4a65e46967cb49419b6a4f8870
tree4b0ce2b673f74a868d1891ae19de823c0a4fdb45
parente4413f05e5fe1ff50e5fa751b818b1f539a33120
implement zoned random I/O testing support

This fixes the limitation that prevents fio from doing random I/O with zones
enabled.

This also adds a 'zonerange' configuration option which may be too ambiguous
and is subject to potential renaming in the future.

When doing random I/O, it is beneficial to be able to specify how large the
addressible space is in the zone, while specifying a different metric for
how much data to read from that zone (i.e., how many samples to take from each
zone). When 'zonerange' is not specified, it defaults to be equal to the
'zonesize' option. When both are specified, 'zonerange' indicates the
size of the zone while 'zonesize' indicates the quantity of data to read from
each zone.

Signed-off-by: Steven Noonan <snoonan@amazon.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fio.h
init.c
io_u.c
options.c