btrfs: reada: add all reachable mirrors into reada device list
authorZhao Lei <zhaolei@cn.fujitsu.com>
Thu, 31 Dec 2015 10:15:47 +0000 (18:15 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 18 Feb 2016 09:26:12 +0000 (10:26 +0100)
commit6a159d2ae488a835a8ca5f1f658db72b7e13d064
tree715a62b98791524ebae41bf937b76d6618f3ea9d
parenta3f7fde24350a17a589c470265ac2d5a0e6f119f
btrfs: reada: add all reachable mirrors into reada device list

If some device is not reachable, we should bypass and continus addingb
next, instead of break on bad device.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/reada.c