]> xenbits.xensource.com Git - people/dstodden/blktap.git/commitdiff
move debug message to make logs more intelligible
authorJake Wires <jake.wires@citrix.com>
Thu, 1 Jul 2010 19:22:44 +0000 (12:22 -0700)
committerJake Wires <jake.wires@citrix.com>
Thu, 1 Jul 2010 19:22:44 +0000 (12:22 -0700)
Signed-off-by: Jake Wires <jake.wires@citrix.com>
drivers/tapdisk-vbd.c

index 410df6f7529dcf35df392b02f91515bec757d4fa..9ce99fc98c6be1fb0ad812c879d55e67a5183eb6 100644 (file)
@@ -1641,15 +1641,15 @@ tapdisk_vbd_issue_request(td_vbd_t *vbd, td_vbd_request_t *vreq)
                        treq_started = 1;
                }
 
+               DBG(TLOG_DBG, "%s: req %d seg %d sec 0x%08llx secs 0x%04x "
+                   "buf %p op %d\n", image->name, id, i, treq.sec, treq.secs,
+                   treq.buf, (int)req->operation);
+
                if (i == req->nr_segments - 1) {
                        tapdisk_vbd_submit_request(image, req, treq);
                        treq_started = 0;
                }
 
-               DBG(TLOG_DBG, "%s: req %d seg %d sec 0x%08llx secs 0x%04x "
-                   "buf %p op %d\n", image->name, id, i, treq.sec, treq.secs,
-                   treq.buf, (int)req->operation);
-
                vreq->secs_pending += nsects;
                vbd->secs_pending  += nsects;