Lines Matching defs:bios
100 * We defer incoming WRITE bios for regions that are not hydrated,
103 * Also, we defer REQ_FUA and REQ_PREFLUSH bios, until after the
308 static void fail_bios(struct bio_list *bios, blk_status_t status)
312 while ((bio = bio_list_pop(bios))) {
318 static void submit_bios(struct bio_list *bios)
325 while ((bio = bio_list_pop(bios)))
356 * Batch together any bios that trigger commits and then issue a single
379 * Issue bios that have been deferred until after their region has finished
385 static void issue_deferred_bios(struct clone *clone, struct bio_list *bios)
392 if (bio_list_empty(bios))
395 while ((bio = bio_list_pop(bios))) {
439 * Batch together any bios that trigger commits and then issue a single
729 * 4. Issue deferred bios.
868 * the list of deferred bios for this region. In case, by the time this
1214 struct bio_list bios = BIO_EMPTY_LIST;
1217 bio_list_merge_init(&bios, &clone->deferred_bios);
1220 if (bio_list_empty(&bios))
1223 submit_bios(&bios);
1230 struct bio_list bios = BIO_EMPTY_LIST;
1234 * If there are any deferred flush bios, we must commit the metadata
1238 bio_list_merge_init(&bios, &clone->deferred_flush_bios);
1243 if (bio_list_empty(&bios) && bio_list_empty(&bio_completions) &&
1248 bio_list_merge(&bios, &bio_completions);
1250 while ((bio = bio_list_pop(&bios)))
1261 while ((bio = bio_list_pop(&bios))) {
1288 * - Process deferred REQ_PREFLUSH bios
1325 * REQ_PREFLUSH bios carry no data: