Lines Matching refs:MaxSector
697 if (conf->mddev->reshape_position != MaxSector) in has_failed()
939 if (progress == MaxSector) in use_new_offset()
2309 sh->log_start = MaxSector; in alloc_stripe()
4091 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5684 if (mddev->reshape_position != MaxSector) in make_discard_request()
5801 mddev->reshape_position == MaxSector) { in raid5_make_request()
5829 if (unlikely(conf->reshape_progress != MaxSector)) { in raid5_make_request()
5972 conf->reshape_progress == MaxSector) { in reshape_request()
5974 sector_nr = MaxSector; in reshape_request()
6729 mddev->reshape_position != MaxSector || in raid5_store_stripe_size()
7259 if (mddev->reshape_position == MaxSector) in setup_conf()
7353 if (conf->reshape_progress != MaxSector) { in setup_conf()
7362 if (mddev->reshape_position != MaxSector) { in setup_conf()
7461 if (mddev->recovery_cp != MaxSector) in raid5_run()
7493 if (mddev->reshape_position != MaxSector) { in raid5_run()
7602 } else if (mddev->recovery_cp == MaxSector) in raid5_run()
7624 conf->reshape_progress != MaxSector) { in raid5_run()
7678 mddev->recovery_cp != MaxSector) { in raid5_run()
7699 if (conf->reshape_progress != MaxSector) { in raid5_run()
7857 && tmp->replacement->recovery_offset == MaxSector in raid5_spare_active()
7875 && tmp->rdev->recovery_offset == MaxSector in raid5_spare_active()
7921 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8125 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8283 conf->reshape_progress = MaxSector; in raid5_start_reshape()
8284 mddev->reshape_position = MaxSector; in raid5_start_reshape()
8308 conf->reshape_progress = MaxSector; in end_reshape()
8309 conf->mddev->reshape_position = MaxSector; in end_reshape()
8314 rdev->recovery_offset = MaxSector; in end_reshape()
8350 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8409 mddev->recovery_cp = MaxSector; in raid45_takeover_raid0()