From 02a36caa69f5675f7144fbeddb7a32e1d35ce0c7 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Fri, 15 Jul 2022 20:20:55 +0000 Subject: [PATCH] docs: clarify write_iolog description 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 --- HOWTO.rst | 3 ++- fio.1 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HOWTO.rst b/HOWTO.rst index 470777e2..104cce2d 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 948c01f9..ce9bf3ef 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 -- 2.25.1