Home
last modified time | relevance | path

Searched refs:rrdev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/
H A Draid10.c1296 struct md_rdev *rdev, *rrdev; in wait_blocked_dev() local
1323 rrdev = conf->mirrors[i].replacement; in wait_blocked_dev()
1324 if (rrdev && rdev_blocked(rrdev)) { in wait_blocked_dev()
1325 atomic_inc(&rrdev->nr_pending); in wait_blocked_dev()
1326 blocked_rdev = rrdev; in wait_blocked_dev()
1403 struct md_rdev *rdev, *rrdev; in raid10_write_request() local
1406 rrdev = conf->mirrors[d].replacement; in raid10_write_request()
1409 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1410 rrdev = NULL; in raid10_write_request()
1415 if (!rdev && !rrdev) in raid10_write_request()
[all …]
H A Draid5.c1178 struct md_rdev *rdev, *rrdev = NULL; in ops_run_io() local
1204 rrdev = conf->disks[i].replacement; in ops_run_io()
1208 if (rdev == rrdev) in ops_run_io()
1210 rrdev = NULL; in ops_run_io()
1212 if (test_bit(R5_ReadRepl, &head_sh->dev[i].flags) && rrdev) in ops_run_io()
1213 rdev = rrdev; in ops_run_io()
1214 rrdev = NULL; in ops_run_io()
1221 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io()
1222 rrdev = NULL; in ops_run_io()
1223 if (rrdev) in ops_run_io()
[all …]