summaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.c
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2016-05-02 17:33:14 +0200
committerShaohua Li <shli@fb.com>2016-05-04 21:39:35 +0200
commita578183ed9dff915878ec6c2b3bf729bf72b9bd1 (patch)
treeb496660323c44277d3ed8cc362148060bae287c1 /drivers/md/bitmap.c
parentmd-cluster: change array_sectors and update size are not supported (diff)
downloadlinux-a578183ed9dff915878ec6c2b3bf729bf72b9bd1.tar.xz
linux-a578183ed9dff915878ec6c2b3bf729bf72b9bd1.zip
md-cluster: wakeup thread if activated a spare disk
When a device is re-added, it will ultimately need to be activated and that happens in md_check_recovery, so we need to set MD_RECOVERY_NEEDED right after remove_and_add_spares. A specifical issue without the change is that when one node perform fail/remove/readd on a disk, but slave nodes could not add the disk back to array as expected (added as missed instead of in sync). So give slave nodes a chance to do resync. 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/bitmap.c')
0 files changed, 0 insertions, 0 deletions