Add support for redirection replay of blktrace traces to another device
[fio.git] / options.c
index 9718dc56cb0d42871be7c3cc1a52b4b73ff0af27..3d32c8e05fbd68504a80721b685283f13a47bd08 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1489,6 +1489,13 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .parent = "read_iolog",
                .help   = "Playback IO pattern file as fast as possible without stalls",
        },
+       {
+               .name   = "replay_redirect",
+               .type   = FIO_OPT_STR_STORE,
+               .off1   = td_var_offset(replay_redirect),
+               .parent = "read_iolog",
+               .help   = "Replay all I/O onto this device, regardless of trace device",
+       },
        {
                .name   = "exec_prerun",
                .type   = FIO_OPT_STR_STORE,