From c099a50545f58d917b8f4f07814e565e9445ed22 Mon Sep 17 00:00:00 2001 From: mikeb Date: Wed, 21 Jun 2017 11:35:11 +0000 Subject: [PATCH] Include the request id in the I/O debug output --- sys/dev/pv/hvs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/pv/hvs.c b/sys/dev/pv/hvs.c index bb753fc8b8b..a0f08c8ab12 100644 --- a/sys/dev/pv/hvs.c +++ b/sys/dev/pv/hvs.c @@ -408,8 +408,8 @@ hvs_scsi_cmd(struct scsi_xfer *xs) ccb->ccb_done = hvs_scsi_cmd_done; #ifdef HVS_DEBUG_IO - DPRINTF("%s: %u.%u: opcode %#x flags %#x datalen %d\n", - sc->sc_dev.dv_xname, link->target, link->lun, + DPRINTF("%s: %u.%u: rid %llu opcode %#x flags %#x datalen %d\n", + sc->sc_dev.dv_xname, link->target, link->lun, ccb->ccb_rid, xs->cmd->opcode, xs->flags, xs->datalen); #endif @@ -527,8 +527,8 @@ hvs_intr(void *xsc) } #ifdef HVS_DEBUG_IO - DPRINTF("%s: opertaion %u flags %#x status %#x\n", - sc->sc_dev.dv_xname, cmd.cmd_op, cmd.cmd_flags, + DPRINTF("%s: rid %llu opertaion %u flags %#x status %#x\n", + sc->sc_dev.dv_xname, rid, cmd.cmd_op, cmd.cmd_flags, cmd.cmd_status); #endif -- 2.20.1