summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-policy.c
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2017-10-24 09:11:50 +0200
committerShaohua Li <shli@fb.com>2017-11-02 05:32:22 +0100
commitd4098c7262a47f529765d89614484a957363d623 (patch)
tree34b9c412ec89d504034ddab14f12d8d0a83be312 /drivers/md/dm-cache-policy.c
parentmd: use lockdep_assert_held (diff)
downloadlinux-d4098c7262a47f529765d89614484a957363d623.tar.xz
linux-d4098c7262a47f529765d89614484a957363d623.zip
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>
Diffstat (limited to 'drivers/md/dm-cache-policy.c')
0 files changed, 0 insertions, 0 deletions