commit | 7bb591020669b7266c57108f2a68b48a03ae72ee | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Tue Jul 12 19:47:03 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Tue Jul 12 19:47:03 2011 +0200 |
tree | d13e5cd3d9805bc4fd03446afce4fce68d1642b3 | |
parent | 893b37c668638714f8240a1dcf8548836fe51233 [diff] |
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>