summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryanv <bryanv@FreeBSD.org>2014-06-17 05:24:45 +0000
committerbryanv <bryanv@FreeBSD.org>2014-06-17 05:24:45 +0000
commitd418fd00cccabf30d672bf6253a9a501cec23629 (patch)
treed61540dd5592eb2e98e9faf60022196e6acde090
parent4fc656028601c789cff990c31467dfbad11e4241 (diff)
downloadFreeBSD-src-d418fd00cccabf30d672bf6253a9a501cec23629.zip
FreeBSD-src-d418fd00cccabf30d672bf6253a9a501cec23629.tar.gz
MFC r267313:
Always append new bios to the tail of the queue, instead of sorting them
-rw-r--r--sys/dev/virtio/block/virtio_blk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/virtio/block/virtio_blk.c b/sys/dev/virtio/block/virtio_blk.c
index 41804a6..a089e3f 100644
--- a/sys/dev/virtio/block/virtio_blk.c
+++ b/sys/dev/virtio/block/virtio_blk.c
@@ -577,7 +577,7 @@ vtblk_strategy(struct bio *bp)
if (sc->vtblk_flags & VTBLK_FLAG_DETACH)
vtblk_finish_bio(bp, ENXIO);
else {
- bioq_disksort(&sc->vtblk_bioq, bp);
+ bioq_insert_tail(&sc->vtblk_bioq, bp);
if ((sc->vtblk_flags & VTBLK_FLAG_SUSPEND) == 0)
vtblk_startio(sc);
OpenPOWER on IntegriCloud