Add missing types to log_io_u()
authorJens Axboe <jaxboe@fusionio.com>
Wed, 25 Aug 2010 08:35:02 +0000 (10:35 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 25 Aug 2010 08:35:02 +0000 (10:35 +0200)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
log.c

diff --git a/log.c b/log.c
index 6117b702c49e4fa345dad601362f65085362ee32..829de94c66093d619ff351a690e8137a6bd97ca5 100644 (file)
--- 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",
 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;
 
        if (!td->o.write_iolog_file)
                return;