Add g_duplicate_bio() function which does the same thing as g_clone_bio() except it allocates new bio with a M_WAITOK flag. sys/geom/geom.h sys/geom/geom_io.c Import from FreeBSD.