/kernel/linux/linux-5.10/drivers/md/ |
H A 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()
|
H A D | raid10.c | 474 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request() 499 * rebuilding or Faulty. This is because we cannot use 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() 765 test_bit(Faulty, &rdev->flags)) in read_balance() 896 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes() 1090 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug() 1380 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request() 1382 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request() 1662 set_bit(Faulty, in raid10_error() [all...] |
H A D | raid1.c | 476 if (!test_bit(Faulty, &rdev->flags)) in raid1_end_write_request() 503 * rebuilding or Faulty. This is because we cannot use in raid1_end_write_request() 510 !test_bit(Faulty, &rdev->flags)) in raid1_end_write_request() 644 || test_bit(Faulty, &rdev->flags)) in read_balance() 800 if (test_bit(Faulty, &rdev->flags)) { in flush_bio_list() 1385 if (!rdev || test_bit(Faulty, &rdev->flags)) { in raid1_write_request() 1622 set_bit(Faulty, &rdev->flags); in raid1_error() 1655 !test_bit(Faulty, &rdev->flags), in print_conf() 1694 && !test_bit(Faulty, &repl->flags) in raid1_spare_active() 1705 set_bit(Faulty, in raid1_spare_active() [all...] |
H A D | md.c | 569 !test_bit(Faulty, &rdev->flags)) { in submit_flushes() 950 if (!test_bit(Faulty, &rdev->flags) in super_written() 981 if (test_bit(Faulty, &rdev->flags)) in md_super_write() 1318 clear_bit(Faulty, &rdev->flags); in super_90_validate() 1413 set_bit(Faulty, &rdev->flags); in super_90_validate() 1526 test_bit(Faulty, &rdev2->flags)) in super_90_sync() 1542 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync() 1832 clear_bit(Faulty, &rdev->flags); in super_1_validate() 1955 * It could happen that our rdev was marked as Faulty, and all other in super_1_validate() 1987 set_bit(Faulty, in super_1_validate() [all...] |
H A D | md.h | 143 Faulty, /* device is known to have a fault */ enumerator 772 int faulty = test_bit(Faulty, &rdev->flags); in rdev_dec_pending()
|
H A D | raid5.c | 642 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 644 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 668 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 670 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 1120 if (rdev && test_bit(Faulty, &rdev->flags)) in ops_run_io() 1124 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io() 2756 if (!test_bit(Faulty, &rdev->flags)) { in raid5_end_read_request() 2884 set_bit(Faulty, &rdev->flags); in raid5_error() 3562 !test_bit(Faulty, &rdev->flags)) in handle_failed_stripe() 3688 && !test_bit(Faulty, in handle_failed_sync() [all...] |
H A D | dm-raid.c | 1324 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() 2379 * Now we set the Faulty bit for those devices that are in super_init_validation() 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() 3801 if (test_bit(Faulty, &r->flags) && in attempt_restore_of_faulty_devices() 3803 DMINFO("Faulty in attempt_restore_of_faulty_devices() [all...] |
H A 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() 1087 if (rdev->raid_disk > -1 && !test_bit(Faulty, &rdev->flags)) { in metadata_update_finish() 1271 if (rdev->raid_disk >= 0 && !test_bit(Faulty, &rdev->flags)) { in update_size()
|
H A 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()
|
H A D | md-bitmap.c | 153 || test_bit(Faulty, &rdev->flags) in read_sb_page() 194 !test_bit(Faulty, &rdev->flags)) { in next_active_rdev()
|
H A D | raid5-cache.c | 635 * process. Therefore, it is not necessary to check Faulty bit in r5l_do_submit_io() 1602 ret = test_bit(Faulty, &log->rdev->flags); in r5l_log_disk_error()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | md-multipath.c | 39 !test_bit(Faulty, &rdev->flags)) { in multipath_map() 177 set_bit(Faulty, &rdev->flags); in multipath_error() 202 i,!test_bit(Faulty, &tmp->rdev->flags), in print_multipath_conf() 383 if (!test_bit(Faulty, &rdev->flags)) in multipath_run()
|
H A D | raid10.c | 500 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request() 525 * rebuilding or Faulty. This is because we cannot use in raid10_end_write_request() 532 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request() 779 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance() 791 test_bit(Faulty, &rdev->flags)) in read_balance() 1485 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request() 1487 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request() 1796 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_handle_discard() 1798 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_handle_discard() 2029 * @rdev is marked as &Faulty excludin [all...] |
H A D | raid1.c | 480 if (!test_bit(Faulty, &rdev->flags)) in raid1_end_write_request() 507 * rebuilding or Faulty. This is because we cannot use in raid1_end_write_request() 514 !test_bit(Faulty, &rdev->flags)) in raid1_end_write_request() 648 || test_bit(Faulty, &rdev->flags)) in read_balance() 1417 if (!rdev || test_bit(Faulty, &rdev->flags)) { in raid1_write_request() 1644 * @rdev is marked as &Faulty excluding case when array is failed and 1667 set_bit(Faulty, &rdev->flags); in raid1_error() 1699 !test_bit(Faulty, &rdev->flags), in print_conf() 1738 && !test_bit(Faulty, &repl->flags) in raid1_spare_active() 1749 set_bit(Faulty, in raid1_spare_active() [all...] |
H A D | raid1-10.c | 123 if (test_bit(Faulty, &rdev->flags)) in raid1_submit_write()
|
H A D | md.c | 518 !test_bit(Faulty, &rdev->flags)) { in submit_flushes() 913 if (!test_bit(Faulty, &rdev->flags) in super_written() 943 if (test_bit(Faulty, &rdev->flags)) in md_super_write() 1277 clear_bit(Faulty, &rdev->flags); in super_90_validate() 1372 set_bit(Faulty, &rdev->flags); in super_90_validate() 1485 test_bit(Faulty, &rdev2->flags)) in super_90_sync() 1501 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync() 1788 clear_bit(Faulty, &rdev->flags); in super_1_validate() 1911 * It could happen that our rdev was marked as Faulty, and all other in super_1_validate() 1943 set_bit(Faulty, in super_1_validate() [all...] |
H A D | md.h | 141 Faulty, /* device is known to have a fault */ enumerator 828 int faulty = test_bit(Faulty, &rdev->flags); in rdev_dec_pending()
|
H A D | raid5.c | 699 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 701 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 725 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 727 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded() 1205 if (rdev && test_bit(Faulty, &rdev->flags)) in ops_run_io() 1209 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io() 2846 if (!test_bit(Faulty, &rdev->flags)) { in raid5_end_read_request() 2972 set_bit(Faulty, &rdev->flags); in raid5_error() 3674 !test_bit(Faulty, &rdev->flags)) in handle_failed_stripe() 3800 && !test_bit(Faulty, in handle_failed_sync() [all...] |
H A D | dm-raid.c | 1324 clear_bit(Faulty, &rd->rdev.flags); in parse_raid_params() 2046 set_bit(Faulty, &rdev->flags); in read_disk_sb() 2101 if (!rs->dev[i].data_dev || test_bit(Faulty, &rs->dev[i].rdev.flags)) { in super_sync() 2376 * Now we set the Faulty bit for those devices that are in super_init_validation() 2422 set_bit(Faulty, &r->flags); in super_init_validation() 2484 if (test_and_clear_bit(Faulty, &rdev->flags)) { in super_validate() 2737 clear_bit(Faulty, &rdev->flags); in rs_setup_takeover() 3403 else if (test_bit(Faulty, &rdev->flags)) in __raid_dev_status() 3824 if (test_bit(Faulty, &r->flags) && in attempt_restore_of_faulty_devices() 3826 DMINFO("Faulty in attempt_restore_of_faulty_devices() [all...] |
H A D | md-cluster.c | 463 if (rdev->raid_disk > -1 && !test_bit(Faulty, &rdev->flags)) { in process_suspend_info() 568 if (rdev && test_bit(Faulty, &rdev->flags)) in process_readd_disk() 569 clear_bit(Faulty, &rdev->flags); in process_readd_disk() 1091 if (rdev->raid_disk > -1 && !test_bit(Faulty, &rdev->flags)) { in metadata_update_finish() 1275 if (rdev->raid_disk >= 0 && !test_bit(Faulty, &rdev->flags)) { in update_size()
|
H A D | raid5-ppl.c | 378 if (!log->rdev || test_bit(Faulty, &log->rdev->flags)) { in ppl_write_stripe() 439 if (!log->rdev || test_bit(Faulty, &log->rdev->flags)) { in ppl_submit_iounit() 625 if (rdev && !test_bit(Faulty, &rdev->flags)) in ppl_do_flush()
|
H A D | md-bitmap.c | 156 test_bit(Faulty, &rdev->flags) || in read_sb_page() 191 !test_bit(Faulty, &rdev->flags)) { in next_active_rdev()
|
H A D | raid5-cache.c | 635 * process. Therefore, it is not necessary to check Faulty bit in r5l_do_submit_io() 1600 return test_bit(Faulty, &log->rdev->flags); in r5l_log_disk_error()
|