summaryrefslogtreecommitdiff
path: root/drivers/md/md-cluster.c
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2016-05-02 18:33:09 +0300
committerShaohua Li <shli@fb.com>2016-05-04 22:39:35 +0300
commit2c97cf138527a0f0283fcca9acf4a06216bec7da (patch)
tree05b750aa450372d1bf7b2dff81c7293479f01cc7 /drivers/md/md-cluster.c
parent41a9a0dcf8954654467f979838938e39ef4da590 (diff)
downloadlinux-2c97cf138527a0f0283fcca9acf4a06216bec7da.tar.xz
md-cluser: make resync_finish only called after pers->sync_request
It is not reasonable that cluster raid to release resync lock before the last pers->sync_request has finished. As the metadata will be changed when node performs resync, we need to inform other nodes to update metadata, so the MD_CHANGE_PENDING flag is set before finish resync. Then metadata_update_finish is move ahead to ensure that METADATA_UPDATED msg is sent before finish resync, and metadata_update_start need to be run after "repeat:" label accordingly. 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 'drivers/md/md-cluster.c')
0 files changed, 0 insertions, 0 deletions