Index: kern/subr_disk.c =================================================================== RCS file: /private/FreeBSD/src/sys/kern/subr_disk.c,v retrieving revision 1.81 diff -u -p -r1.81 subr_disk.c --- kern/subr_disk.c 19 Aug 2004 19:51:51 -0000 1.81 +++ kern/subr_disk.c 13 Dec 2004 12:49:08 -0000 @@ -99,6 +99,13 @@ bioq_flush(struct bio_queue_head *head, } void +bioq_insert_head(struct bio_queue_head *head, struct bio *bp) +{ + + TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue); +} + +void bioq_insert_tail(struct bio_queue_head *head, struct bio *bp) { Index: sys/bio.h =================================================================== RCS file: /private/FreeBSD/src/sys/sys/bio.h,v retrieving revision 1.141 diff -u -p -r1.141 bio.h --- sys/bio.h 30 Aug 2004 09:33:06 -0000 1.141 +++ sys/bio.h 13 Dec 2004 12:49:37 -0000 @@ -118,6 +118,7 @@ struct bio *bioq_first(struct bio_queue_ struct bio *bioq_takefirst(struct bio_queue_head *head); void bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error); void bioq_init(struct bio_queue_head *head); +void bioq_insert_head(struct bio_queue_head *head, struct bio *bp); void bioq_insert_tail(struct bio_queue_head *head, struct bio *bp); void bioq_remove(struct bio_queue_head *head, struct bio *bp);