Lines Matching refs:Faulty
476 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
506 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
753 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
757 test_bit(Faulty, &rdev->flags)) in read_balance()
866 if (rdev && !test_bit(Faulty, &rdev->flags)) { in raid10_congested()
913 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes()
1098 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug()
1381 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1383 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1663 set_bit(Faulty, &rdev->flags); in raid10_error()
1694 !test_bit(Faulty, &rdev->flags), in print_conf()
1723 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
1734 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
1741 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
1847 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2344 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2383 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2437 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2473 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3060 !test_bit(Faulty, &mrdev->flags) && in raid10_sync_request()
3064 !test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3083 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3129 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3348 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3378 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
4142 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4158 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4210 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4276 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4303 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4315 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4620 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
4712 if (!rdev || test_bit(Faulty, &rdev->flags)) { in reshape_request_write()
4802 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()