From 38f68906332ef55f239418fc9e7af225e2f69063 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 26 Apr 2018 15:50:10 -0600 Subject: [PATCH] Update documentation for 'replay_skip' Signed-off-by: Jens Axboe --- HOWTO | 8 ++++++++ fio.1 | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/HOWTO b/HOWTO index 8ee00fd1..d2007009 100644 --- a/HOWTO +++ b/HOWTO @@ -2346,6 +2346,14 @@ I/O replay Scale sector offsets down by this factor when replaying traces. +.. option:: replay_skip=str + + Sometimes it's useful to skip certain IO types in a replay trace. + This could be, for instance, eliminating the writes in the trace. + Or not replaying the trims/discards, if you are redirecting to + a device that doesn't support them. This option takes a comma + separated list of read, write, trim, sync. + Threads, processes and job synchronization ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/fio.1 b/fio.1 index 24bdcdb0..7d5d8be6 100644 --- a/fio.1 +++ b/fio.1 @@ -2067,6 +2067,12 @@ value. Scale sector offsets down by this factor when replaying traces. .SS "Threads, processes and job synchronization" .TP +.BI replay_skip \fR=\fPstr +Sometimes it's useful to skip certain IO types in a replay trace. This could +be, for instance, eliminating the writes in the trace. Or not replaying the +trims/discards, if you are redirecting to a device that doesn't support them. +This option takes a comma separated list of read, write, trim, sync. +.TP .BI thread Fio defaults to creating jobs by using fork, however if this option is given, fio will create jobs by using POSIX Threads' function -- 2.25.1