svn commit: r267313 - head/sys/dev/virtio/block
Bryan Venteicher
bryanv at FreeBSD.org
Tue Jun 10 03:29:16 UTC 2014
Author: bryanv
Date: Tue Jun 10 03:29:15 2014
New Revision: 267313
URL: http://svnweb.freebsd.org/changeset/base/267313
Log:
Always append new bios to the tail of the queue, instead of sorting them
MFC after: 1 week
Modified:
head/sys/dev/virtio/block/virtio_blk.c
Modified: head/sys/dev/virtio/block/virtio_blk.c
==============================================================================
--- head/sys/dev/virtio/block/virtio_blk.c Tue Jun 10 03:23:35 2014 (r267312)
+++ head/sys/dev/virtio/block/virtio_blk.c Tue Jun 10 03:29:15 2014 (r267313)
@@ -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);
More information about the svn-src-head
mailing list