Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid5-cache.c1866 int disk_index; in r5l_recovery_replay_one_stripe() local
1869 for (disk_index = 0; disk_index < sh->disks; disk_index++) { in r5l_recovery_replay_one_stripe()
1870 if (!test_bit(R5_Wantwrite, &sh->dev[disk_index].flags)) in r5l_recovery_replay_one_stripe()
1872 if (disk_index == sh->qd_idx || disk_index == sh->pd_idx) in r5l_recovery_replay_one_stripe()
1885 for (disk_index = 0; disk_index < sh->disks; disk_index++) { in r5l_recovery_replay_one_stripe()
1886 if (!test_bit(R5_Wantwrite, &sh->dev[disk_index].flags)) in r5l_recovery_replay_one_stripe()
1891 rdev = rcu_dereference(conf->disks[disk_index].rdev); in r5l_recovery_replay_one_stripe()
1896 sh->dev[disk_index].page, REQ_OP_WRITE, in r5l_recovery_replay_one_stripe()
1901 rrdev = rcu_dereference(conf->disks[disk_index].replacement); in r5l_recovery_replay_one_stripe()
1906 sh->dev[disk_index].page, REQ_OP_WRITE, in r5l_recovery_replay_one_stripe()