Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 05:24:45 +0000 (UTC)
From:      Bryan Venteicher <bryanv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r267562 - stable/10/sys/dev/virtio/block
Message-ID:  <201406170524.s5H5OjMu057535@svn.freebsd.org>

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



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