summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-08-29 16:21:34 +0900
committerJens Axboe <axboe@kernel.dk>2019-08-29 06:30:49 -0600
commitd4e058cdbd53f34e844c04a0ff03aa5b49b75e8e (patch)
tree3e2a896d329bf875a70d07324557e6995102935f
parent402f08876d93be12f18703acfadb603eec7a5791 (diff)
downloadfio-d4e058cdbd53f34e844c04a0ff03aa5b49b75e8e.tar.gz
fio-d4e058cdbd53f34e844c04a0ff03aa5b49b75e8e.tar.bz2
man: Improve zonemode=zbd information
Clarify the use of the zonerange and zonesize options for zonemode=zbd. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--fio.112
1 files changed, 9 insertions, 3 deletions
diff --git a/fio.1 b/fio.1
index d7421eee..c00579bc 100644
--- a/fio.1
+++ b/fio.1
@@ -753,7 +753,10 @@ restricted to a single zone.
.RE
.TP
.BI zonerange \fR=\fPint
-Size of a single zone. See also \fBzonesize\fR and \fBzoneskip\fR.
+For \fBzonemode\fR=strided, this is the size of a single zone. See also
+\fBzonesize\fR and \fBzoneskip\fR.
+
+For \fBzonemode\fR=zbd, this parameter is ignored.
.TP
.BI zonesize \fR=\fPint
For \fBzonemode\fR=strided, this is the number of bytes to transfer before
@@ -762,8 +765,11 @@ skipping \fBzoneskip\fR bytes. If this parameter is smaller than
will be accessed. If this parameter is larger than \fBzonerange\fR then each
zone will be accessed multiple times before skipping to the next zone.
-For \fBzonemode\fR=zbd, this is the size of a single zone. The \fBzonerange\fR
-parameter is ignored in this mode.
+For \fBzonemode\fR=zbd, this is the size of a single zone. The
+\fBzonerange\fR parameter is ignored in this mode. For a job accessing a
+zoned block device, the specified \fBzonesize\fR must be 0 or equal to the
+device zone size. For a regular block device or file, the specified
+\fBzonesize\fR must be at least 512B.
.TP
.BI zoneskip \fR=\fPint
For \fBzonemode\fR=strided, the number of bytes to skip after \fBzonesize\fR