svn commit: r267562 - stable/10/sys/dev/virtio/block

Bryan Venteicher bryanv at FreeBSD.org
Tue Jun 17 05:24:45 UTC 2014


Author: bryanv
Date: Tue Jun 17 05:24:45 2014
New Revision: 267562
URL: http://svnweb.freebsd.org/changeset/base/267562

Log:
  MFC r267313:
  
    Always append new bios to the tail of the queue, instead of sorting them

Modified:
  stable/10/sys/dev/virtio/block/virtio_blk.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/virtio/block/virtio_blk.c
==============================================================================
--- stable/10/sys/dev/virtio/block/virtio_blk.c	Tue Jun 17 05:21:48 2014	(r267561)
+++ stable/10/sys/dev/virtio/block/virtio_blk.c	Tue Jun 17 05:24:45 2014	(r267562)
@@ -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-all mailing list