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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to