commit | 14e7b605367dcf2d2ac1e3276465ed749d31503e | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Wed Aug 25 10:35:02 2010 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Wed Aug 25 10:35:02 2010 +0200 |
tree | 0a8fa5b95d36146b795ceaa8eb4ec3b7fc66ded5 | |
parent | 0b80f9c02533d920b03bd9a7203f512b55757690 [diff] |
Add missing types to log_io_u() Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/log.c b/log.c index 6117b70..829de94 100644 --- a/log.c +++ b/log.c
@@ -21,9 +21,9 @@ 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;