Home
last modified time | relevance | path

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

/drivers/md/
Draid5.c647 return conf->mddev->degraded > conf->max_degraded; in has_failed()
650 if (degraded > conf->max_degraded) in has_failed()
728 BUG_ON(sh->overwrite_disks > (sh->disks - sh->raid_conf->max_degraded)); in is_full_stripe_write()
729 return sh->overwrite_disks == (sh->disks - sh->raid_conf->max_degraded); in is_full_stripe_write()
2388 else if (conf->mddev->degraded >= conf->max_degraded) { in raid5_end_read_request()
2573 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_sector()
2763 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_blocknr()
2915 if (s->locked + conf->max_degraded == disks) in schedule_reconstruction()
3087 stripe * (disks - conf->max_degraded) in stripe_set_idx()
3177 s->failed > conf->max_degraded && in handle_failed_stripe()
[all …]
Draid5.h442 int max_degraded; member
Draid5-cache.c941 ctx->meta_total_blocks += BLOCK_SECTORS * conf->max_degraded; in r5l_recovery_flush_one_stripe()