diff options
author | grog <grog@FreeBSD.org> | 1999-09-28 22:45:21 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-09-28 22:45:21 +0000 |
commit | 0baa5f682a4775bae1bed696f009935b625b08d8 (patch) | |
tree | 1c4ed86bdea65ca12bdc92ab1962b2a8cfc641f2 /sys/dev | |
parent | 98afc1e9a0e1f18ecc8a947d8ab2f80c5b3822f2 (diff) | |
download | FreeBSD-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.c | 4 |
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 */ |