Searched refs:get_default_mirror (Results 1 – 1 of 1) sorted by relevance
178 static struct mirror *get_default_mirror(struct mirror_set *ms) in get_default_mirror() function236 if (m != get_default_mirror(ms)) in fail_mirror()312 fail_mirror(get_default_mirror(ms), DM_RAID1_SYNC_ERROR); in recovery_complete()323 if (&ms->mirror[m] == get_default_mirror(ms)) in recovery_complete()345 m = get_default_mirror(ms); in recover()361 if (&ms->mirror[i] == get_default_mirror(ms)) in recover()425 struct mirror *m = get_default_mirror(ms); in choose_mirror()433 } while (m != get_default_mirror(ms)); in choose_mirror()440 struct mirror *default_mirror = get_default_mirror(m->ms); in default_ok()575 m = get_default_mirror(ms); in do_reads()[all …]