summaryrefslogtreecommitdiff
path: root/drivers/md/bitmap.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-04-02 06:38:55 (GMT)
committerNeilBrown <neilb@suse.de>2013-06-13 22:10:26 (GMT)
commit90f5f7ad4f38d67626b0c220a0ac390603e0bded (patch)
tree740a41f4c451e0ee0f65f4fb3ca3120bce8b4189 /drivers/md/bitmap.c
parent3f6bbd3ffd7b733dd705e494663e5761aa2cb9c1 (diff)
downloadlinux-fsl-qoriq-90f5f7ad4f38d67626b0c220a0ac390603e0bded.tar.xz
md: Wait for md_check_recovery before attempting device removal.
When a device has failed, it needs to be removed from the personality module before it can be removed from the array as a whole. The first step is performed by md_check_recovery() which is called from the raid management thread. So when a HOT_REMOVE ioctl arrives, wait briefly for md_check_recovery to have run. This increases the chance that the ioctl will succeed. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Neil Brown <nfbrown@suse.de>
Diffstat (limited to 'drivers/md/bitmap.c')
0 files changed, 0 insertions, 0 deletions