Lines Matching refs:MaxSector

753 	if (conf->mddev->reshape_position != MaxSector)  in has_failed()
1013 if (progress == MaxSector) in use_new_offset()
2379 sh->log_start = MaxSector; in alloc_stripe()
4196 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5799 if (mddev->reshape_position != MaxSector) in make_discard_request()
5896 sector_t max_sector = 0, min_sector = MaxSector; in stripe_ahead_of_reshape()
5982 if (unlikely(conf->reshape_progress != MaxSector)) { in make_stripe_request()
6117 mddev->reshape_position == MaxSector) { in raid5_make_request()
6143 (conf->reshape_progress != MaxSector) && in raid5_make_request()
6234 conf->reshape_progress == MaxSector) { in reshape_request()
6236 sector_nr = MaxSector; in reshape_request()
6993 mddev->reshape_position != MaxSector || in raid5_store_stripe_size()
7525 if (mddev->reshape_position == MaxSector) in setup_conf()
7622 if (conf->reshape_progress != MaxSector) { in setup_conf()
7631 if (mddev->reshape_position != MaxSector) { in setup_conf()
7738 if (mddev->recovery_cp != MaxSector) in raid5_run()
7771 if (mddev->reshape_position != MaxSector) { in raid5_run()
7887 } else if (mddev->recovery_cp == MaxSector) in raid5_run()
7910 conf->reshape_progress != MaxSector) { in raid5_run()
7964 mddev->recovery_cp != MaxSector) { in raid5_run()
7985 if (conf->reshape_progress != MaxSector) { in raid5_run()
8149 && replacement->recovery_offset == MaxSector in raid5_spare_active()
8167 && rdev->recovery_offset == MaxSector in raid5_spare_active()
8217 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8426 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8584 conf->reshape_progress = MaxSector; in raid5_start_reshape()
8585 mddev->reshape_position = MaxSector; in raid5_start_reshape()
8609 conf->reshape_progress = MaxSector; in end_reshape()
8610 conf->mddev->reshape_position = MaxSector; in end_reshape()
8615 rdev->recovery_offset = MaxSector; in end_reshape()
8654 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8716 mddev->recovery_cp = MaxSector; in raid45_takeover_raid0()