Searched refs:rrdev (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | raid10.c | 1295 struct md_rdev *rdev, *rrdev; in wait_blocked_dev() local 1298 rrdev = conf->mirrors[i].replacement; in wait_blocked_dev() 1304 if (rrdev && unlikely(test_bit(Blocked, &rrdev->flags))) { in wait_blocked_dev() 1305 atomic_inc(&rrdev->nr_pending); in wait_blocked_dev() 1306 blocked_rdev = rrdev; in wait_blocked_dev() 1421 struct md_rdev *rdev, *rrdev; in raid10_write_request() local 1424 rrdev = conf->mirrors[d].replacement; in raid10_write_request() 1427 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request() 1428 rrdev = NULL; in raid10_write_request() 1433 if (!rdev && !rrdev) { in raid10_write_request() [all …]
|
D | raid5-cache.c | 1868 struct md_rdev *rdev, *rrdev; in r5l_recovery_replay_one_stripe() local 1901 rrdev = conf->disks[disk_index].replacement; in r5l_recovery_replay_one_stripe() 1902 if (rrdev) { in r5l_recovery_replay_one_stripe() 1903 atomic_inc(&rrdev->nr_pending); in r5l_recovery_replay_one_stripe() 1904 sync_page_io(rrdev, sh->sector, PAGE_SIZE, in r5l_recovery_replay_one_stripe() 1907 rdev_dec_pending(rrdev, rrdev->mddev); in r5l_recovery_replay_one_stripe()
|
D | raid5.c | 1160 struct md_rdev *rdev, *rrdev = NULL; in ops_run_io() local 1186 rrdev = conf->disks[i].replacement; in ops_run_io() 1190 if (rdev == rrdev) in ops_run_io() 1192 rrdev = NULL; in ops_run_io() 1194 if (test_bit(R5_ReadRepl, &head_sh->dev[i].flags) && rrdev) in ops_run_io() 1195 rdev = rrdev; in ops_run_io() 1196 rrdev = NULL; in ops_run_io() 1203 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io() 1204 rrdev = NULL; in ops_run_io() 1205 if (rrdev) in ops_run_io() [all …]
|