Lines Matching refs:MaxSector
619 if (conf->reshape_progress != MaxSector && in raid10_find_phys()
714 best_dist = MaxSector; in read_balance()
723 if (conf->mddev->recovery_cp < MaxSector in read_balance()
749 if (best_dist < MaxSector) in read_balance()
1652 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()
1670 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()
1693 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
2831 mddev->recovery_cp == MaxSector && in sync_request()
2832 mddev->reshape_position == MaxSector && in sync_request()
2884 = MaxSector; in sync_request()
3486 if (mddev->reshape_position == MaxSector) { in setup_conf()
3488 conf->reshape_progress = MaxSector; in setup_conf()
3621 if (conf->reshape_progress != MaxSector) { in run()
3657 if (mddev->recovery_cp != MaxSector) in run()
3689 if (conf->reshape_progress != MaxSector) { in run()
3768 if (mddev->reshape_position != MaxSector) in raid10_resize()
3818 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
4111 conf->reshape_progress = MaxSector; in raid10_start_reshape()
4112 conf->reshape_safe = MaxSector; in raid10_start_reshape()
4113 mddev->reshape_position = MaxSector; in raid10_start_reshape()
4466 conf->reshape_progress = MaxSector; in end_reshape()
4467 conf->reshape_safe = MaxSector; in end_reshape()
4613 mddev->reshape_position = MaxSector; in raid10_finish_reshape()