Searched refs:R5_Wantwrite (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | raid5-cache.c | 467 if (test_and_clear_bit(R5_Wantwrite, &sh->dev[i].flags)) { in r5c_handle_data_cached() 484 set_bit(R5_Wantwrite, &sh->dev[i].flags); in r5c_handle_parity_cached() 924 if (!test_bit(R5_Wantwrite, &sh->dev[i].flags) || in r5l_log_stripe() 1003 if (sh->log_io || !test_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags) || in r5l_write_stripe() 1015 if (!test_bit(R5_Wantwrite, &sh->dev[i].flags) || in r5l_write_stripe() 1820 set_bit(R5_Wantwrite, &sh->dev[dd_idx].flags); in r5l_recovery_load_data() 1837 set_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags); in r5l_recovery_load_parity() 1845 set_bit(R5_Wantwrite, &sh->dev[sh->qd_idx].flags); in r5l_recovery_load_parity() 1870 if (!test_bit(R5_Wantwrite, &sh->dev[disk_index].flags)) in r5l_recovery_replay_one_stripe() 1886 if (!test_bit(R5_Wantwrite, &sh->dev[disk_index].flags)) in r5l_recovery_replay_one_stripe() [all …]
|
H A D | raid5.h | 308 R5_Wantwrite, enumerator
|
H A D | raid5-ppl.c | 302 if (i != sh->pd_idx && test_bit(R5_Wantwrite, &dev->flags)) { in ppl_log_stripe() 368 !test_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags) || in ppl_write_stripe() 483 (test_bit(R5_Wantwrite, &dev->flags))) { in ppl_submit_iounit()
|
H A D | raid5.c | 1161 if (test_and_clear_bit(R5_Wantwrite, &sh->dev[i].flags)) { in ops_run_io() 4348 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks5() 4478 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6() 4484 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6() 4490 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6() 4496 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6() 4503 clear_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6() 5073 set_bit(R5_Wantwrite, &dev->flags); in handle_stripe() 5222 set_bit(R5_Wantwrite, &dev->flags); in handle_stripe() 5256 set_bit(R5_Wantwrite, &sh->dev[i].flags); in handle_stripe()
|