Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/geom_io.c
| Show First 20 Lines • Show All 539 Lines • ▼ Show 20 Lines | #endif | ||||
| } | } | ||||
| g_trace(G_T_BIO, "bio_request(%p) from %p(%s) to %p(%s) cmd %d", | g_trace(G_T_BIO, "bio_request(%p) from %p(%s) to %p(%s) cmd %d", | ||||
| bp, cp, cp->geom->name, pp, pp->name, bp->bio_cmd); | bp, cp, cp->geom->name, pp, pp->name, bp->bio_cmd); | ||||
| bp->bio_from = cp; | bp->bio_from = cp; | ||||
| bp->bio_to = pp; | bp->bio_to = pp; | ||||
| bp->bio_error = 0; | bp->bio_error = 0; | ||||
| bp->bio_error_compat = 0; | |||||
| bp->bio_completed = 0; | bp->bio_completed = 0; | ||||
| KASSERT(!(bp->bio_flags & BIO_ONQUEUE), | KASSERT(!(bp->bio_flags & BIO_ONQUEUE), | ||||
| ("Bio already on queue bp=%p", bp)); | ("Bio already on queue bp=%p", bp)); | ||||
| if ((g_collectstats & G_STATS_CONSUMERS) != 0 || | if ((g_collectstats & G_STATS_CONSUMERS) != 0 || | ||||
| ((g_collectstats & G_STATS_PROVIDERS) != 0 && pp->stat != NULL)) | ((g_collectstats & G_STATS_PROVIDERS) != 0 && pp->stat != NULL)) | ||||
| binuptime(&bp->bio_t0); | binuptime(&bp->bio_t0); | ||||
| ▲ Show 20 Lines • Show All 534 Lines • Show Last 20 Lines | |||||