aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@samsung.com>2022-07-15 20:20:55 +0000
committerVincent Fu <vincent.fu@samsung.com>2022-07-15 20:20:55 +0000
commitb10b0e4f98bb0e553b5ab97befeafd1e20e4abfe (patch)
tree9e420c1709d756db504f301842c4a1ffc89069a8
parentd6225c1550827077c0c0f9e1b8816b4f35cd5304 (diff)
downloadfio-misc.tar.gz
docs: clarify write_iolog descriptionmisc
Note that the log file is opened in append mode to avoid confusion when the same log file is used repeatedly. Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
-rw-r--r--HOWTO.rst3
-rw-r--r--fio.13
2 files changed, 4 insertions, 2 deletions
diff --git a/HOWTO.rst b/HOWTO.rst
index 470777e2e..104cce2d2 100644
--- a/HOWTO.rst
+++ b/HOWTO.rst
@@ -3049,7 +3049,8 @@ I/O replay
Write the issued I/O patterns to the specified file. See
:option:`read_iolog`. Specify a separate file for each job, otherwise the
- iologs will be interspersed and the file may be corrupt.
+ iologs will be interspersed and the file may be corrupt. This file will
+ be opened in append mode.
.. option:: read_iolog=str
diff --git a/fio.1 b/fio.1
index 948c01f9c..ce9bf3ef4 100644
--- a/fio.1
+++ b/fio.1
@@ -2793,7 +2793,8 @@ of milliseconds. Defaults to 1000.
.BI write_iolog \fR=\fPstr
Write the issued I/O patterns to the specified file. See
\fBread_iolog\fR. Specify a separate file for each job, otherwise the
-iologs will be interspersed and the file may be corrupt.
+iologs will be interspersed and the file may be corrupt. This file will be
+opened in append mode.
.TP
.BI read_iolog \fR=\fPstr
Open an iolog with the specified filename and replay the I/O patterns it