Lines Matching refs:failures
62 struct bio_list failures; member
636 if (!ms->failures.head) in write_callback()
638 bio_list_add(&ms->failures, bio); in write_callback()
762 bio_list_merge(&ms->failures, &sync); in do_writes()
775 bio_list_add(&ms->failures, bio); in do_writes()
785 static void do_failures(struct mirror_set *ms, struct bio_list *failures) in do_failures() argument
789 if (likely(!failures->head)) in do_failures()
809 while ((bio = bio_list_pop(failures))) { in do_failures()
852 struct bio_list reads, writes, failures; in do_mirror() local
858 failures = ms->failures; in do_mirror()
861 bio_list_init(&ms->failures); in do_mirror()
868 do_failures(ms, &failures); in do_mirror()
890 bio_list_init(&ms->failures); in alloc_context()