diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2018-10-18 16:37:44 +0800 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2018-10-18 09:38:06 -0700 |
commit | aefb2e5fc2be590e6bef8985f3d175c3d38b0b77 (patch) | |
tree | ca88b03b17faa56f2cd3fcdc4384aa680962846b /.cocciconfig | |
parent | 5ebaf80bc8d5826edcc2d1cea26a7d5a4b8f01dd (diff) |
md-cluster/raid10: call update_size in md_reap_sync_thread
We need to change the capacity in all nodes after one node
finishs reshape. And as we did before, we can't change the
capacity directly in md_do_sync, instead, the capacity should
be only changed in update_size or received CHANGE_CAPACITY
msg.
So master node calls update_size after completes reshape in
md_reap_sync_thread, but we need to skip ops->update_size if
MD_CLOSING is set since reshaping could not be finish.
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions