Searched refs:MD_DISK_ROLE_SPARE (Results 1 – 2 of 2) sorted by relevance
99 #define MD_DISK_ROLE_SPARE 0xffff macro
1919 role = MD_DISK_ROLE_SPARE; in super_1_validate()1924 case MD_DISK_ROLE_SPARE: /* spare */ in super_1_validate()2107 sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_SPARE); in super_1_sync()2133 sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_SPARE); in super_1_sync()2641 if (role == MD_DISK_ROLE_SPARE && rdev->raid_disk >= 0 && in does_sb_need_changing()9673 if (rdev2->raid_disk == -1 && role != MD_DISK_ROLE_SPARE && in check_sb_changes()