Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Draid5.c291 else if (injournal == conf->raid_disks - conf->max_degraded) { in do_release_stripe()
759 return degraded > conf->max_degraded; in has_failed()
880 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
881 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
2783 else if (conf->mddev->degraded >= conf->max_degraded) { in raid5_end_read_request()
2962 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_sector()
3152 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_blocknr()
3370 if (s->locked + conf->max_degraded == disks) in schedule_reconstruction()
3579 stripe * (disks - conf->max_degraded) in stripe_set_idx()
3651 s->failed > conf->max_degraded && in handle_failed_stripe()
[all …]
H A Draid5-cache.c404 ((conf->max_degraded + 1) * atomic_read(&log->stripe_in_journal_count) + in r5c_log_required_to_flush_cache()
405 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1)); in r5c_log_required_to_flush_cache()
1831 ctx->meta_total_blocks += BLOCK_SECTORS * conf->max_degraded; in r5l_recovery_load_parity()
2018 if (conf->max_degraded == 2 && /* q for RAID 6 */ in r5l_recovery_verify_data_checksum_for_mb()
H A Draid5-ppl.c817 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()
824 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()