exp: update man page and HOWTO
authorJens Axboe <axboe@fb.com>
Tue, 30 Sep 2014 03:32:43 +0000 (21:32 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 30 Sep 2014 03:32:43 +0000 (21:32 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
HOWTO
fio.1

diff --git a/HOWTO b/HOWTO
index e770b99de49879ce74afcdec7d6c84a553c25518..57911b431fb03fa1a069c4e7d413af052b6eb4d8 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -253,7 +253,20 @@ machine.
 
 This section describes in details each parameter associated with a job.
 Some parameters take an option of a given type, such as an integer or
-a string. The following types are used:
+a string. Anywhere a numeric value is required, an arithmetic expression
+may be used, provided it is surrounded by parentheses. Supported operators
+are:
+
+       addition (+)
+       subtraction (-)
+       multiplication (*)
+       division (/)
+       modulus (%)
+       exponentiation (^)
+
+For time values in expressions, units are microseconds by default. This is
+different than for time values not in expressions (not enclosed in
+parentheses). The following types are used:
 
 str    String. This is a sequence of alpha characters.
 time   Integer with possible time suffix. In seconds unless otherwise
diff --git a/fio.1 b/fio.1
index 01c7cec03b5b345b3ac135608c5846844d145980..b4dec91543611adaf6c0cf7b229468d89c8fbcec 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -117,13 +117,27 @@ may override any parameter set in global sections.
 .SS Types
 Some parameters may take arguments of a specific type.
 Anywhere a numeric value is required, an arithmetic expression may be used,
-provided it is surrounded by parentheses.
-Supported operators are
-addition, subtraction, multiplication, division, modulus, and exponentiation.
-For time values in expressions
-units are microseconds by default.  This is different than for time
-values not in expressions (not enclosed in parentheses).
-The types used are:
+provided it is surrounded by parentheses. Supported operators are:
+.RS
+.RS
+.TP
+.B addition (+)
+.TP
+.B subtraction (-)
+.TP
+.B multiplication (*)
+.TP
+.B division (/)
+.TP
+.B modulus (%)
+.TP
+.B exponentiation (^)
+.RE
+.RE
+.P
+For time values in expressions, units are microseconds by default. This is
+different than for time values not in expressions (not enclosed in
+parentheses). The types used are:
 .TP
 .I str
 String: a sequence of alphanumeric characters.