PERFORCE change 122413 for review

Ulf Lilleengen lulf at FreeBSD.org
Wed Jun 27 16:51:44 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=122413

Change 122413 by lulf at 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);


More information about the p4-projects mailing list