Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2007 16:51:43 GMT
From:      Ulf Lilleengen <lulf@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 122413 for review
Message-ID:  <200706271651.l5RGphrl070026@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122413

Change 122413 by lulf@lulf_carrot on 2007/06/27 16:50:59

	- Issue requests that are delayed due to synchronization right after the
	  sync is finished. The way it was earlier, the requests could be issued
	  in incorrect order.

Affected files ...

.. //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_volume.c#9 edit

Differences ...

==== //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_volume.c#9 (text+ko) ====

@@ -248,10 +248,7 @@
 	/* Issue all delayed requests. */
 	bp = bioq_takefirst(v->wqueue);
 	while (bp != NULL) {
-/*		gv_volume_start(v, bp);*/
-		mtx_lock(&sc->queue_mtx);
-		bioq_disksort(sc->bqueue, bp);
-		mtx_unlock(&sc->queue_mtx);
+		gv_volume_start(sc, bp);
 		bp = bioq_takefirst(v->wqueue);
 	}
 	return (0);



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