Files
linux/drivers/md
NeilBrown 8430e7e0af 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>
2016-06-13 11:54:12 -07:00
..
2014-01-14 23:23:03 -05:00
2016-01-04 10:29:12 -05:00
2015-10-31 19:06:01 -04:00
2016-04-13 13:33:19 -06:00
2016-01-20 13:52:20 -08:00
2015-08-13 12:31:57 -06:00