Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/md/
H A Draid10.c474 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()
888 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes()
1081 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug()
1364 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1366 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1646 set_bit(Faulty, &rdev->flags); in raid10_error()
1677 !test_bit(Faulty, &rdev->flags), in print_conf()
[all …]
H A Dmd-multipath.c39 !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 Draid1.c476 if (!test_bit(Faulty, &rdev->flags)) 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, &rdev->flags); in raid1_spare_active()
1712 && !test_bit(Faulty, &rdev->flags) in raid1_spare_active()
[all …]
H A Dmd.c580 !test_bit(Faulty, &rdev->flags)) { in submit_flushes()
961 if (!test_bit(Faulty, &rdev->flags) in super_written()
990 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1325 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1420 set_bit(Faulty, &rdev->flags); in super_90_validate()
1533 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1549 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1839 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1962 set_bit(Faulty, &rdev->flags); in super_1_validate()
2159 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
[all …]
H A Draid5.c643 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()
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, &rdev->flags) in handle_failed_sync()
[all …]
H A Dmd-cluster.c463 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 Ddm-raid.c1324 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()
3412 else if (test_bit(Faulty, &rdev->flags)) in __raid_dev_status()
3803 if (test_bit(Faulty, &r->flags) && in attempt_restore_of_faulty_devices()
3829 clear_bit(Faulty, &r->flags); in attempt_restore_of_faulty_devices()
H A Dmd.h143 Faulty, /* device is known to have a fault */ enumerator
772 int faulty = test_bit(Faulty, &rdev->flags); in rdev_dec_pending()
H A Draid5-ppl.c377 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 Dmd-bitmap.c160 || test_bit(Faulty, &rdev->flags) in read_sb_page()
201 !test_bit(Faulty, &rdev->flags)) { in next_active_rdev()
H A DKconfig172 tristate "Faulty test module for MD"
H A Draid5-cache.c1602 ret = test_bit(Faulty, &log->rdev->flags); in r5l_log_disk_error()
/OK3568_Linux_fs/kernel/arch/arm/
H A DKconfig951 bool "ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption"