Lines Matching refs:MaxSector
660 if (conf->reshape_progress != MaxSector && in raid10_find_phys()
754 best_dist = MaxSector; in read_balance()
764 if (conf->mddev->recovery_cp < MaxSector in read_balance()
790 if (best_dist < MaxSector) in read_balance()
1726 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()
1744 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()
1767 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
2895 mddev->recovery_cp == MaxSector && in raid10_sync_request()
2896 mddev->reshape_position == MaxSector && in raid10_sync_request()
2949 rdev->recovery_offset = MaxSector; in raid10_sync_request()
3591 if (mddev->reshape_position == MaxSector) { in setup_conf()
3593 conf->reshape_progress = MaxSector; in setup_conf()
3729 if (conf->reshape_progress != MaxSector) { in raid10_run()
3772 if (mddev->recovery_cp != MaxSector) in raid10_run()
3803 if (conf->reshape_progress != MaxSector) { in raid10_run()
3882 if (mddev->reshape_position != MaxSector) in raid10_resize()
3930 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
4223 conf->reshape_progress = MaxSector; in raid10_start_reshape()
4224 conf->reshape_safe = MaxSector; in raid10_start_reshape()
4225 mddev->reshape_position = MaxSector; in raid10_start_reshape()
4576 conf->reshape_progress = MaxSector; in end_reshape()
4577 conf->reshape_safe = MaxSector; in end_reshape()
4735 mddev->reshape_position = MaxSector; in raid10_finish_reshape()