Allow percentage setting for size=
authorJens Axboe <jaxboe@fusionio.com>
Tue, 12 Jul 2011 17:47:03 +0000 (19:47 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 12 Jul 2011 17:47:03 +0000 (19:47 +0200)
commit7bb591020669b7266c57108f2a68b48a03ae72ee
treed13e5cd3d9805bc4fd03446afce4fce68d1642b3
parent893b37c668638714f8240a1dcf8548836fe51233
Allow percentage setting for size=

Sometimes it's useful to set this to a particular size of a device.
Allowing percentages makes this more easy, as one does not have to
do the math outside of fio and pass in as environment variables
or custom job files.

To use, simply add a

size=15%

or whatever is needed, then fio will use 15% of the total size of
the device(s) or file(s) given. Percentage can be from 1 to 100.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
HOWTO
filesetup.c
fio.1
fio.h
options.c
parse.c
parse.h