summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-07-23 19:37:52 +0000
committerdg <dg@FreeBSD.org>1995-07-23 19:37:52 +0000
commit3cd91f70c57bc0275934f24cd2274d4e66a0d189 (patch)
treec080b96ec1a123817777805edd3caec33df777ab
parent1bda950a5894edf6410dbfffc74886cae83e25e8 (diff)
downloadFreeBSD-src-3cd91f70c57bc0275934f24cd2274d4e66a0d189.zip
FreeBSD-src-3cd91f70c57bc0275934f24cd2274d4e66a0d189.tar.gz
Added some additional diagnostic information output when panicing in
biodone().
-rw-r--r--sys/kern/vfs_bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 3f5e3b6..7956ca4 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vfs_bio.c,v 1.50 1995/07/21 04:55:45 davidg Exp $
+ * $Id: vfs_bio.c,v 1.51 1995/07/23 18:49:48 davidg Exp $
*/
/*
@@ -1218,9 +1218,9 @@ biodone(register struct buf * bp)
"off: %ld, foff: %ld, "
"resid: %d, index: %d\n",
m->offset, foff, resid, i);
- printf(" iosize: %ld, lblkno: %ld\n",
+ printf(" iosize: %ld, lblkno: %ld, flags: 0x%x, npages: %d\n",
bp->b_vp->v_mount->mnt_stat.f_iosize,
- bp->b_lblkno);
+ bp->b_lblkno, bp->b_flags, bp->b_npages);
printf(" valid: 0x%x, dirty: 0x%x, mapped: %d\n",
m->valid, m->dirty, m->bmapped);
panic("biodone: page busy < 0\n");
OpenPOWER on IntegriCloud