summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-09-28 22:45:21 +0000
committergrog <grog@FreeBSD.org>1999-09-28 22:45:21 +0000
commit0baa5f682a4775bae1bed696f009935b625b08d8 (patch)
tree1c4ed86bdea65ca12bdc92ab1962b2a8cfc641f2 /sys/dev
parent98afc1e9a0e1f18ecc8a947d8ab2f80c5b3822f2 (diff)
downloadFreeBSD-src-0baa5f682a4775bae1bed696f009935b625b08d8.zip
FreeBSD-src-0baa5f682a4775bae1bed696f009935b625b08d8.tar.gz
sdio_done: Log events if DEBUG_LASTREQS set.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/vinum/vinuminterrupt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinuminterrupt.c b/sys/dev/vinum/vinuminterrupt.c
index 5fa7786..4b119bc 100644
--- a/sys/dev/vinum/vinuminterrupt.c
+++ b/sys/dev/vinum/vinuminterrupt.c
@@ -203,6 +203,10 @@ sdio_done(struct buf *bp)
bp->b_flags |= B_ERROR;
bp->b_error = sbp->b.b_error;
}
+#ifdef VINUMDEBUG
+ if (debug & DEBUG_LASTREQS)
+ logrq(loginfo_sdiodone, (union rqinfou) bp, bp);
+#endif
sbp->bp->b_resid = sbp->b.b_resid; /* copy the resid field */
biodone(sbp->bp); /* complete the caller's I/O */
/* Now update the statistics */
OpenPOWER on IntegriCloud