Searched refs:MD_DISK_ROLE_SPARE (Results 1 – 2 of 2) sorted by relevance
95 #define MD_DISK_ROLE_SPARE 0xffff macro
1933 role = MD_DISK_ROLE_SPARE; in super_1_validate()1968 case MD_DISK_ROLE_SPARE: /* spare */ in super_1_validate()2149 sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_SPARE); in super_1_sync()2175 sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_SPARE); in super_1_sync()2603 if (role == MD_DISK_ROLE_SPARE && rdev->raid_disk >= 0 && in does_sb_need_changing()9986 if (rdev2->raid_disk == -1 && role != MD_DISK_ROLE_SPARE && in check_sb_changes()