--- src/sys/dev/raid/twe/twe_compat.h 2006/10/25 20:56:01 1.16 +++ src/sys/dev/raid/twe/twe_compat.h 2008/06/10 17:20:52 1.17 @@ -164,7 +164,7 @@ typedef struct bio_queue_head twe_bioq; typedef struct bio twe_bio; typedef struct bio_queue_head twe_bioq; # define TWE_BIO_QINIT(bq) bioq_init(&bq); -# define TWE_BIO_QINSERT(bq, bp) bioq_insert_tail(&bq, bp) +# define TWE_BIO_QINSERT(bq, bp) bioqdisksort(&bq, bp) # define TWE_BIO_QFIRST(bq) bioq_first(&bq) # define TWE_BIO_QREMOVE(bq, bp) bioq_remove(&bq, bp) # define TWE_BIO_IS_READ(bp) ((bp)->bio_cmd == BIO_READ)