summaryrefslogtreecommitdiffstats
path: root/Build.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-03-27 03:50:16 +0200
committerJes Sorensen <Jes.Sorensen@gmail.com>2017-03-28 20:25:23 +0200
commit2dd271fe7041c2f7036939cf6917c0578b92fefe (patch)
tree65e5f3c63b4279cb37849b933258fa795bba246c /Build.c
parentudev-md-raid-assembly.rules: Skip non-ready devices (diff)
downloadmdadm-2dd271fe7041c2f7036939cf6917c0578b92fefe.tar.xz
mdadm-2dd271fe7041c2f7036939cf6917c0578b92fefe.zip
Retry HOT_REMOVE_DISK a few times.
HOT_REMOVE_DISK can fail with EBUSY if there are outstanding IO request that have not completed yet. It can sometimes be helpful to wait a little while for these to complete. We already do this in impose_level() when reshaping a device, but not in Manage.c in response to an explicit --remove request. So create hot_remove_disk() to central this code, and call it where-ever it makes sense to wait for a HOT_REMOVE_DISK to succeed. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions