Always append new bios to the tail of the queue, instead of sorting them

MFC after:	1 week
This commit is contained in:
Bryan Venteicher 2014-06-10 03:29:15 +00:00
parent 0494cb1bcb
commit 49d5172b34
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267313

View File

@ -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);