From: Jens Axboe Date: Wed, 25 Aug 2010 08:35:02 +0000 (+0200) Subject: Add missing types to log_io_u() X-Git-Tag: fio-1.43.1~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=14e7b605367dcf2d2ac1e3276465ed749d31503e;p=fio.git Add missing types to log_io_u() Signed-off-by: Jens Axboe --- diff --git a/log.c b/log.c index 6117b702..829de94c 100644 --- a/log.c +++ b/log.c @@ -21,9 +21,9 @@ void queue_io_piece(struct thread_data *td, struct io_piece *ipo) void log_io_u(struct thread_data *td, struct io_u *io_u) { const char *act[] = { "read", "write", "sync", "datasync", - "sync_file_range" }; + "sync_file_range", "wait", "trim" }; - assert(io_u->ddir <= 4); + assert(io_u->ddir <= 6); if (!td->o.write_iolog_file) return;