Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 03:29:15 +0000 (UTC)
From:      Bryan Venteicher <bryanv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r267313 - head/sys/dev/virtio/block
Message-ID:  <201406100329.s5A3TF7o013694@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406100329.s5A3TF7o013694>