|
@@ -741,7 +741,7 @@ static void do_reads(struct mirror_set *ms, struct bio_list *reads)
|
|
/*
|
|
/*
|
|
* We can only read balance if the region is in sync.
|
|
* We can only read balance if the region is in sync.
|
|
*/
|
|
*/
|
|
- if (rh_in_sync(&ms->rh, region, 0))
|
|
|
|
|
|
+ if (rh_in_sync(&ms->rh, region, 1))
|
|
m = choose_mirror(ms, bio->bi_sector);
|
|
m = choose_mirror(ms, bio->bi_sector);
|
|
else
|
|
else
|
|
m = ms->default_mirror;
|
|
m = ms->default_mirror;
|