/drivers/md/ |
D | md-multipath.c | 39 !test_bit(Faulty, &rdev->flags)) { in multipath_map() 181 set_bit(Faulty, &rdev->flags); in multipath_error() 207 i,!test_bit(Faulty, &tmp->rdev->flags), in print_multipath_conf() 389 if (!test_bit(Faulty, &rdev->flags)) in multipath_run()
|
D | raid10.c | 475 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request() 507 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request() 754 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance() 766 test_bit(Faulty, &rdev->flags)) in read_balance() 897 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes() 1111 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug() 1482 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request() 1484 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request() 1794 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_handle_discard() 1796 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_handle_discard() [all …]
|
D | raid1.c | 478 if (!test_bit(Faulty, &rdev->flags)) in raid1_end_write_request() 512 !test_bit(Faulty, &rdev->flags)) in raid1_end_write_request() 646 || test_bit(Faulty, &rdev->flags)) in read_balance() 802 if (test_bit(Faulty, &rdev->flags)) { in flush_bio_list() 1394 if (!rdev || test_bit(Faulty, &rdev->flags)) { in raid1_write_request() 1651 set_bit(Faulty, &rdev->flags); in raid1_error() 1684 !test_bit(Faulty, &rdev->flags), in print_conf() 1723 && !test_bit(Faulty, &repl->flags) in raid1_spare_active() 1734 set_bit(Faulty, &rdev->flags); in raid1_spare_active() 1741 && !test_bit(Faulty, &rdev->flags) in raid1_spare_active() [all …]
|
D | md.c | 566 !test_bit(Faulty, &rdev->flags)) { in submit_flushes() 945 if (!test_bit(Faulty, &rdev->flags) in super_written() 976 if (test_bit(Faulty, &rdev->flags)) in md_super_write() 1313 clear_bit(Faulty, &rdev->flags); in super_90_validate() 1408 set_bit(Faulty, &rdev->flags); in super_90_validate() 1521 test_bit(Faulty, &rdev2->flags)) in super_90_sync() 1537 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync() 1827 clear_bit(Faulty, &rdev->flags); in super_1_validate() 1982 set_bit(Faulty, &rdev->flags); in super_1_validate() 2179 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync() [all …]
|
D | raid5.c | 643 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 645 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 669 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 671 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 1121 if (rdev && test_bit(Faulty, &rdev->flags)) in ops_run_io() 1125 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io() 2757 if (!test_bit(Faulty, &rdev->flags)) { in raid5_end_read_request() 2885 set_bit(Faulty, &rdev->flags); in raid5_error() 3563 !test_bit(Faulty, &rdev->flags)) in handle_failed_stripe() 3689 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync() [all …]
|
D | md-cluster.c | 463 if (rdev->raid_disk > -1 && !test_bit(Faulty, &rdev->flags)) { in process_suspend_info() 564 if (rdev && test_bit(Faulty, &rdev->flags)) in process_readd_disk() 565 clear_bit(Faulty, &rdev->flags); in process_readd_disk() 1086 if (rdev->raid_disk > -1 && !test_bit(Faulty, &rdev->flags)) { in metadata_update_finish() 1270 if (rdev->raid_disk >= 0 && !test_bit(Faulty, &rdev->flags)) { in update_size()
|
D | dm-raid.c | 1323 clear_bit(Faulty, &rd->rdev.flags); in parse_raid_params() 2045 set_bit(Faulty, &rdev->flags); in read_disk_sb() 2100 if (!rs->dev[i].data_dev || test_bit(Faulty, &rs->dev[i].rdev.flags)) { in super_sync() 2425 set_bit(Faulty, &r->flags); in super_init_validation() 2487 if (test_and_clear_bit(Faulty, &rdev->flags)) { in super_validate() 2740 clear_bit(Faulty, &rdev->flags); in rs_setup_takeover() 3410 else if (test_bit(Faulty, &rdev->flags)) in __raid_dev_status() 3831 if (test_bit(Faulty, &r->flags) && in attempt_restore_of_faulty_devices() 3857 clear_bit(Faulty, &r->flags); in attempt_restore_of_faulty_devices()
|
D | md.h | 143 Faulty, /* device is known to have a fault */ enumerator 782 int faulty = test_bit(Faulty, &rdev->flags); in rdev_dec_pending()
|
D | raid5-ppl.c | 377 if (!log->rdev || test_bit(Faulty, &log->rdev->flags)) { in ppl_write_stripe() 440 if (!log->rdev || test_bit(Faulty, &log->rdev->flags)) { in ppl_submit_iounit() 632 if (rdev && !test_bit(Faulty, &rdev->flags)) in ppl_do_flush()
|
D | md-bitmap.c | 153 || test_bit(Faulty, &rdev->flags) in read_sb_page() 194 !test_bit(Faulty, &rdev->flags)) { in next_active_rdev()
|
D | Kconfig | 173 tristate "Faulty test module for MD (deprecated)"
|
D | raid5-cache.c | 1602 ret = test_bit(Faulty, &log->rdev->flags); in r5l_log_disk_error()
|