Lines Matching refs:failures
62 struct bio_list failures; member
638 if (!ms->failures.head) in write_callback()
640 bio_list_add(&ms->failures, bio); in write_callback()
764 bio_list_merge(&ms->failures, &sync); in do_writes()
777 bio_list_add(&ms->failures, bio); in do_writes()
787 static void do_failures(struct mirror_set *ms, struct bio_list *failures) in do_failures() argument
791 if (likely(!failures->head)) in do_failures()
811 while ((bio = bio_list_pop(failures))) { in do_failures()
854 struct bio_list reads, writes, failures; in do_mirror() local
860 failures = ms->failures; in do_mirror()
863 bio_list_init(&ms->failures); in do_mirror()
870 do_failures(ms, &failures); in do_mirror()
892 bio_list_init(&ms->failures); in alloc_context()