Searched refs:saved_raid_disk (Results 1 – 6 of 6) sorted by relevance
234 if (rdev->saved_raid_disk != mddev->raid_disks) in linear_add()237 rdev->raid_disk = rdev->saved_raid_disk; in linear_add()
87 int saved_raid_disk; /* role that device used to have in the member
1119 if (rdev->saved_raid_disk >= 0 && in raid10_add_disk()1120 rdev->saved_raid_disk >= first && in raid10_add_disk()1121 conf->mirrors[rdev->saved_raid_disk].rdev == NULL) in raid10_add_disk()1122 mirror = rdev->saved_raid_disk; in raid10_add_disk()1145 if (rdev->saved_raid_disk != mirror) in raid10_add_disk()
2501 rdev->saved_raid_disk = slot; in slot_store()2503 rdev->saved_raid_disk = -1; in slot_store()2774 rdev->saved_raid_disk = -1; in md_rdev_init()5215 rdev->saved_raid_disk = rdev->raid_disk; in add_new_disk()5217 rdev->saved_raid_disk = -1; in add_new_disk()5368 rdev->saved_raid_disk = -1; in hot_add_disk()7108 rdev->saved_raid_disk = -1; in reap_sync_thread()
5357 if (rdev->saved_raid_disk >= 0 && in raid5_add_disk()5358 rdev->saved_raid_disk >= first && in raid5_add_disk()5359 conf->disks[rdev->saved_raid_disk].rdev == NULL) in raid5_add_disk()5360 disk = rdev->saved_raid_disk; in raid5_add_disk()5368 if (rdev->saved_raid_disk != disk) in raid5_add_disk()
1089 if (rdev->saved_raid_disk < 0) in raid1_add_disk()