gfio: debug dump on iolog receive
authorJens Axboe <axboe@kernel.dk>
Wed, 14 Mar 2012 20:51:18 +0000 (21:51 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 14 Mar 2012 20:51:18 +0000 (21:51 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
gfio.c

diff --git a/gfio.c b/gfio.c
index 03d25e1..e88c11b 100644 (file)
--- a/gfio.c
+++ b/gfio.c
@@ -1689,6 +1689,7 @@ static void gfio_client_job_start(struct fio_client *client, struct fio_net_cmd
 
 static void gfio_client_iolog(struct fio_client *client, struct cmd_iolog_pdu *pdu)
 {
+       printf("got iolog: type=%u, entries=%u\n", pdu->log_type, pdu->nr_samples);
        free(pdu);
 }