Author: pjd Date: Wed Dec 26 20:07:47 2012 New Revision: 244716 URL: http://svnweb.freebsd.org/changeset/base/244716
Log: Reset provider-specific fields when resending I/O request in low memory conditions. This fixes assertion which checks those fields when kernel is compiled with DIAGNOSTIC. Reported by: kib, pho MFC after: 1 week Modified: head/sys/geom/geom_io.c Modified: head/sys/geom/geom_io.c ============================================================================== --- head/sys/geom/geom_io.c Wed Dec 26 19:14:21 2012 (r244715) +++ head/sys/geom/geom_io.c Wed Dec 26 20:07:47 2012 (r244716) @@ -567,6 +567,9 @@ g_io_deliver(struct bio *bp, int error) printf("ENOMEM %p on %p(%s)\n", bp, pp, pp->name); bp->bio_children = 0; bp->bio_inbed = 0; + bp->bio_driver1 = NULL; + bp->bio_driver2 = NULL; + bp->bio_pflags = 0; g_io_request(bp, cp); pace++; return; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"