X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.1;h=96d8f1147da412380ace93492460906432c8fceb;hb=60023ade47e7817db1c18d9b7e511839de5c2c99;hp=7787ef29c2b3028e6950f9d765ffc0b87fe4eda5;hpb=939bb94fd1f1431128e3009fc68c79f973be6de8;p=fio.git diff --git a/fio.1 b/fio.1 index 7787ef29..96d8f114 100644 --- a/fio.1 +++ b/fio.1 @@ -913,13 +913,19 @@ should be associated with them. .TP .BI offset \fR=\fPint Start I/O at the provided offset in the file, given as either a fixed size in -bytes or a percentage. If a percentage is given, the next \fBblockalign\fR\-ed -offset will be used. Data before the given offset will not be touched. This +bytes or a percentage. If a percentage is given, the generated offset will be +aligned to the minimum \fBblocksize\fR or to the value of \fBoffset_align\fR if +provided. Data before the given offset will not be touched. This effectively caps the file size at `real_size \- offset'. Can be combined with \fBsize\fR to constrain the start and end range of the I/O workload. A percentage can be specified by a number between 1 and 100 followed by '%', for example, `offset=20%' to specify 20%. .TP +.BI offset_align \fR=\fPint +If set to non-zero value, the byte offset generated by a percentage \fBoffset\fR +is aligned upwards to this value. Defaults to 0 meaning that a percentage +offset is aligned to the minimum block size. +.TP .BI offset_increment \fR=\fPint If this is provided, then the real offset becomes `\fBoffset\fR + \fBoffset_increment\fR * thread_number', where the thread number is a counter that starts at 0 and