diff options
author | 2016-06-02 16:19:52 +1000 | |
---|---|---|
committer | 2016-06-13 11:54:12 -0700 | |
commit | 8430e7e0af9a15063b90343e3beebc164c8e90f3 (patch) | |
tree | 4facf6ea5e596b014ceff1792de6006b3cb6bb27 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | raid1/raid10: slow down resync if there is non-resync activity pending (diff) | |
download | linux-dev-8430e7e0af9a15063b90343e3beebc164c8e90f3.tar.xz linux-dev-8430e7e0af9a15063b90343e3beebc164c8e90f3.zip |
md: disconnect device from personality before trying to remove it.
When the HOT_REMOVE_DISK ioctl is used to remove a device, we
call remove_and_add_spares() which will remove it from the personality
if possible. This improves the chances that the removal will succeed.
When writing "remove" to dev-XX/state, we don't. So that can fail more easily.
So add the remove_and_add_spares() into "remove" handling.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions