diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-09-28 17:27:26 +0200 |
---|---|---|
committer | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-10-12 08:33:58 +0200 |
commit | 2910ff17d154baa5eb50e362a91104e831eb2bb6 (patch) | |
tree | 746036180b2192079ee7451764437e144f7a3b04 /drivers/md/dm-cache-policy-smq.c | |
parent | md-cluster: Wake up suspended process (diff) | |
download | linux-2910ff17d154baa5eb50e362a91104e831eb2bb6.tar.xz linux-2910ff17d154baa5eb50e362a91104e831eb2bb6.zip |
md: remove_and_add_spares() to activate specific rdev
remove_and_add_spares() checks for all devices to activate spare.
Change it to activate a specific device if a non-null rdev
argument is passed.
remove_and_add_spares() can be used to activate spares in
slot_store() as well.
For hot_remove_disk(), check if rdev->raid_disk == -1 before
calling remove_and_add_spares()
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-smq.c')
0 files changed, 0 insertions, 0 deletions