Add debug trace for io_u_queue_complete()
authorJens Axboe <jens.axboe@oracle.com>
Mon, 4 Feb 2008 09:49:41 +0000 (10:49 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 4 Feb 2008 09:49:41 +0000 (10:49 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c

diff --git a/io_u.c b/io_u.c
index 42ad37b59ec4111a1e1b6fe7a322d7fc1ca45a1f..bd7df0cf7f1eb2b8cd37aeada79427a3cae65af2 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -883,6 +883,8 @@ long io_u_queued_complete(struct thread_data *td, int min_events)
        int ret;
        struct timespec ts = { .tv_sec = 0, .tv_nsec = 0, };
 
+       dprint(FD_IO, "io_u_queued_completed: min=%d\n", min_events);
+
        if (!min_events)
                tvp = &ts;