svn commit: r190503 - projects/gvinum/sys/geom/vinum

Ulf Lilleengen lulf at FreeBSD.org
Sat Mar 28 04:01:45 PDT 2009


Author: lulf
Date: Sat Mar 28 11:01:44 2009
New Revision: 190503
URL: http://svn.freebsd.org/changeset/base/190503

Log:
  - Take into account the pflags as well, because it is used to indicate if the
    BIO is used for growing.

Modified:
  projects/gvinum/sys/geom/vinum/geom_vinum.c

Modified: projects/gvinum/sys/geom/vinum/geom_vinum.c
==============================================================================
--- projects/gvinum/sys/geom/vinum/geom_vinum.c	Sat Mar 28 11:01:06 2009	(r190502)
+++ projects/gvinum/sys/geom/vinum/geom_vinum.c	Sat Mar 28 11:01:44 2009	(r190503)
@@ -1007,7 +1007,8 @@ gv_worker(void *arg)
 				g_io_request(bp, s->drive_sc->consumer);
 			}
 		/* A special request requireing special handling. */
-		} else if (bp->bio_cflags & GV_BIO_INTERNAL) {
+		} else if (bp->bio_cflags & GV_BIO_INTERNAL ||
+		    bp->bio_pflags & GV_BIO_INTERNAL) {
 			p = bp->bio_caller1;
 			gv_plex_start(p, bp);
 		/* A fresh bio, scheduled it down. */


More information about the svn-src-projects mailing list