Home
last modified time | relevance | path

Searched refs:max_degraded (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/md/
A Draid5.c697 if (degraded > conf->max_degraded) in has_failed()
2883 mddev->degraded == conf->max_degraded) { in raid5_error()
3544 stripe * (disks - conf->max_degraded) in stripe_set_idx()
3627 s->failed > conf->max_degraded && in handle_failed_stripe()
4970 if (s.failed > conf->max_degraded || in handle_stripe()
5699 (conf->raid_disks - conf->max_degraded); in make_discard_request()
7337 conf->max_degraded = 2; in setup_conf()
7343 conf->max_degraded = 1; in setup_conf()
7413 if (raid_disk < max_degraded) in only_parity()
7646 conf->max_degraded)) in raid5_run()
[all …]
A Draid5.h569 int max_degraded; member
A Draid5-cache.c405 ((conf->max_degraded + 1) * atomic_read(&log->stripe_in_journal_count) + in r5c_log_required_to_flush_cache()
406 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1)); in r5c_log_required_to_flush_cache()
1841 ctx->meta_total_blocks += BLOCK_SECTORS * conf->max_degraded; in r5l_recovery_load_parity()
2033 if (conf->max_degraded == 2 && /* q for RAID 6 */ in r5l_recovery_verify_data_checksum_for_mb()
A Draid5-ppl.c829 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()
836 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()

Completed in 26 milliseconds