commit | d4098c7262a47f529765d89614484a957363d623 | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <gqjiang@suse.com> | Tue Oct 24 15:11:50 2017 +0800 |
committer | Shaohua Li <shli@fb.com> | Wed Nov 01 21:32:22 2017 -0700 |
tree | 34b9c412ec89d504034ddab14f12d8d0a83be312 | |
parent | efa4b77b00b56138fb7e68d2fe8fd1b3c15cd503 [diff] |
md-cluster/raid10: set "do_balance = 0" if area is resyncing Just like clustered raid1, it is impossible for cluster raid10 to choose the best device for read balance when the area of array is resyncing. Because we cannot trust the data to be the same on all devices at that time, so we choose just the first one to use, so set do_balance to 0. Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>