Searched refs:rrdev (Results 1 – 2 of 2) sorted by relevance
1297 struct md_rdev *rdev, *rrdev; in wait_blocked_dev() local1324 rrdev = conf->mirrors[i].replacement; in wait_blocked_dev()1325 if (rrdev && rdev_blocked(rrdev)) { in wait_blocked_dev()1326 atomic_inc(&rrdev->nr_pending); in wait_blocked_dev()1327 blocked_rdev = rrdev; in wait_blocked_dev()1422 struct md_rdev *rdev, *rrdev; in raid10_write_request() local1425 rrdev = conf->mirrors[d].replacement; in raid10_write_request()1428 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()1429 rrdev = NULL; in raid10_write_request()1434 if (!rdev && !rrdev) in raid10_write_request()[all …]
1163 struct md_rdev *rdev, *rrdev = NULL; in ops_run_io() local1189 rrdev = conf->disks[i].replacement; in ops_run_io()1193 if (rdev == rrdev) in ops_run_io()1195 rrdev = NULL; in ops_run_io()1197 if (test_bit(R5_ReadRepl, &head_sh->dev[i].flags) && rrdev) in ops_run_io()1198 rdev = rrdev; in ops_run_io()1199 rrdev = NULL; in ops_run_io()1206 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io()1207 rrdev = NULL; in ops_run_io()1208 if (rrdev) in ops_run_io()[all …]