Searched refs:max_degraded (Results 1 – 4 of 4) sorted by relevance
277 else if (injournal == conf->raid_disks - conf->max_degraded) { in do_release_stripe()617 return conf->mddev->degraded > conf->max_degraded; in has_failed()620 if (degraded > conf->max_degraded) in has_failed()701 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()702 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()2537 else if (conf->mddev->degraded >= conf->max_degraded) { in raid5_end_read_request()2681 mddev->degraded == conf->max_degraded) { in raid5_error()2729 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_sector()2919 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_blocknr()3137 if (s->locked + conf->max_degraded == disks) in schedule_reconstruction()[all …]
573 int max_degraded; member
407 ((conf->max_degraded + 1) * atomic_read(&log->stripe_in_journal_count) + in r5c_log_required_to_flush_cache()408 (conf->raid_disks - conf->max_degraded) * (conf->group_cnt + 1)); in r5c_log_required_to_flush_cache()1843 ctx->meta_total_blocks += BLOCK_SECTORS * conf->max_degraded; in r5l_recovery_load_parity()2035 if (conf->max_degraded == 2 && /* q for RAID 6 */ in r5l_recovery_verify_data_checksum_for_mb()
829 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()