Lines Matching refs:MaxSector
628 if (conf->reshape_progress != MaxSector && in raid10_find_phys()
725 best_dist = MaxSector; in read_balance()
735 if ((conf->mddev->recovery_cp < MaxSector in read_balance()
766 if (best_dist < MaxSector) in read_balance()
1722 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()
1740 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()
1763 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
2926 mddev->recovery_cp == MaxSector && in raid10_sync_request()
2927 mddev->reshape_position == MaxSector && in raid10_sync_request()
2983 rdev->recovery_offset = MaxSector; in raid10_sync_request()
3681 if (mddev->reshape_position == MaxSector) { in setup_conf()
3683 conf->reshape_progress = MaxSector; in setup_conf()
3831 if (conf->reshape_progress != MaxSector) { in raid10_run()
3874 if (mddev->recovery_cp != MaxSector) in raid10_run()
3905 if (conf->reshape_progress != MaxSector) { in raid10_run()
3983 if (mddev->reshape_position != MaxSector) in raid10_resize()
4031 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
4356 conf->reshape_progress = MaxSector; in raid10_start_reshape()
4357 conf->reshape_safe = MaxSector; in raid10_start_reshape()
4358 mddev->reshape_position = MaxSector; in raid10_start_reshape()
4735 conf->reshape_progress = MaxSector; in end_reshape()
4736 conf->reshape_safe = MaxSector; in end_reshape()
4759 || mddev->reshape_position == MaxSector) in raid10_update_reshape_pos()
4906 mddev->reshape_position = MaxSector; in raid10_finish_reshape()