Read from the first device when an area is resyncing
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Tue, 12 Aug 2014 15:13:19 +0000 (10:13 -0500)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 23 Feb 2015 15:59:07 +0000 (09:59 -0600)
commit7d49ffcfa3cc08aa2301bf3fdb1e423a3fd33ee7
tree1578bbe756d7d104d0fffa67bc55e4711904a38c
parent589a1c491621ab81a1955d17d634636522c1b4c1
Read from the first device when an area is resyncing

set choose_first true for cluster read in read balance when the area
is resyncing.

Signed-off-by: Lidong Zhong <lzhong@suse.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
drivers/md/raid1.c