Merge branch 'patch-1' of https://github.com/Nikratio/fio
authorJens Axboe <axboe@kernel.dk>
Fri, 28 Jan 2022 21:50:51 +0000 (14:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Jan 2022 21:50:51 +0000 (14:50 -0700)
* 'patch-1' of https://github.com/Nikratio/fio:
  I/O size: fix description of filesize

HOWTO
fio.1

diff --git a/HOWTO b/HOWTO
index f9e7c8572041fee4f95a46ce08cceffc13cb0f94..c72ec8cd0125139c06298a782aa97304cc75e8a4 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -1886,11 +1886,12 @@ I/O size
 
 .. option:: filesize=irange(int)
 
-       Individual file sizes. May be a range, in which case fio will select sizes
-       for files at random within the given range and limited to :option:`size` in
-       total (if that is given). If not given, each created file is the same size.
-       This option overrides :option:`size` in terms of file size, which means
-       this value is used as a fixed size or possible range of each file.
+       Individual file sizes. May be a range, in which case fio will select sizes for
+       files at random within the given range. If not given, each created file is the
+       same size. This option overrides :option:`size` in terms of file size, i.e. if
+       :option:`filesize` is specified then :option:`size` becomes merely the default
+       for :option:`io_size` and has no effect at all if :option:`io_size` is set
+       explicitly.
 
 .. option:: file_append=bool
 
diff --git a/fio.1 b/fio.1
index 34aa874d2d4f512ee46ed3dd12cfaedededc46ec..b87d2309ac16704256f2deb1f08f96b0d8069ca2 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -1686,10 +1686,10 @@ also be set as number of zones using 'z'.
 .TP
 .BI filesize \fR=\fPirange(int)
 Individual file sizes. May be a range, in which case fio will select sizes
-for files at random within the given range and limited to \fBsize\fR in
-total (if that is given). If not given, each created file is the same size.
-This option overrides \fBsize\fR in terms of file size, which means
-this value is used as a fixed size or possible range of each file.
+for files at random within the given range. If not given, each created file
+is the same size. This option overrides \fBsize\fR in terms of file size, 
+i.e. \fBsize\fR becomes merely the default for \fBio_size\fR (and
+has no effect it all if \fBio_size\fR is set explicitly).
 .TP
 .BI file_append \fR=\fPbool
 Perform I/O after the end of the file. Normally fio will operate within the