summaryrefslogtreecommitdiff
path: root/HOWTO
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@wdc.com>2019-08-28 13:48:41 -0400
committerJens Axboe <axboe@kernel.dk>2019-08-28 13:45:37 -0600
commit0b288ba164c10009ea9f4a2c737bd29863ebc60c (patch)
tree865e9c7563061f298b3bce17ebd2ed9a4197e367 /HOWTO
parenta02ec45af6b1f9ca1d8b578b4264bcd053886801 (diff)
downloadfio-0b288ba164c10009ea9f4a2c737bd29863ebc60c.tar.gz
fio-0b288ba164c10009ea9f4a2c737bd29863ebc60c.tar.bz2
options: allow offset_increment to understand percentages
Add the ability for the offset_increment option to understand percentages. With this patch offset_increment=10% will, for example, increase the start offset by 10% of the file size for additional jobs created by numjobs. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'HOWTO')
-rw-r--r--HOWTO4
1 files changed, 3 insertions, 1 deletions
diff --git a/HOWTO b/HOWTO
index 1c9b2c10..4201e2e9 100644
--- a/HOWTO
+++ b/HOWTO
@@ -1252,7 +1252,9 @@ I/O type
is incremented for each sub-job (i.e. when :option:`numjobs` option is
specified). This option is useful if there are several jobs which are
intended to operate on a file in parallel disjoint segments, with even
- spacing between the starting points.
+ spacing between the starting points. Percentages can be used for this option.
+ If a percentage is given, the generated offset will be aligned to the minimum
+ ``blocksize`` or to the value of ``offset_align`` if provided.
.. option:: number_ios=int