From f7c9bfd57232c6e11623d741be340d32f796c726 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 6 Oct 2017 11:41:47 -0600 Subject: [PATCH] backend: don't complain about no IO done for create_only=1 It's expected that we didn't actually run any IO, if the user asked for just file creation. Fixes: 48366f3a92cb ("Don't silently terminate td when no I/O performed due to error") Signed-off-by: Jens Axboe --- backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.c b/backend.c index b1995ef4..ba6f5854 100644 --- a/backend.c +++ b/backend.c @@ -1833,7 +1833,7 @@ static void *thread_main(void *data) * (Are we not missing other flags that can be ignored ?) */ if ((td->o.size || td->o.io_size) && !ddir_rw_sum(bytes_done) && - !did_some_io && + !did_some_io && !td->o.create_only && !(td_ioengine_flagged(td, FIO_NOIO) || td_ioengine_flagged(td, FIO_DISKLESSIO))) log_err("%s: No I/O performed by %s, " -- 2.25.1