Lines Matching refs:MaxSector
752 if (conf->mddev->reshape_position != MaxSector) in has_failed()
1020 if (progress == MaxSector) in use_new_offset()
2371 sh->log_start = MaxSector; in alloc_stripe()
4158 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5730 if (mddev->reshape_position != MaxSector) in make_discard_request()
5823 sector_t max_sector = 0, min_sector = MaxSector; in stripe_ahead_of_reshape()
5923 if (reshape_progress == MaxSector) in get_reshape_loc()
5945 if (unlikely(conf->reshape_progress != MaxSector)) { in make_stripe_request()
6105 mddev->reshape_position == MaxSector) { in raid5_make_request()
6131 (conf->reshape_progress != MaxSector) && in raid5_make_request()
6147 if (likely(conf->reshape_progress == MaxSector)) { in raid5_make_request()
6243 conf->reshape_progress == MaxSector) { in reshape_request()
6245 sector_nr = MaxSector; in reshape_request()
6280 return MaxSector; in reshape_request()
6300 return MaxSector; in reshape_request()
6306 return MaxSector; in reshape_request()
6309 return MaxSector; in reshape_request()
6998 mddev->reshape_position != MaxSector || mddev->sysfs_active) { in raid5_store_stripe_size()
7526 if (mddev->reshape_position == MaxSector) in setup_conf()
7623 if (conf->reshape_progress != MaxSector) { in setup_conf()
7632 if (mddev->reshape_position != MaxSector) { in setup_conf()
7789 if (mddev->recovery_cp != MaxSector) in raid5_run()
7821 if (mddev->reshape_position != MaxSector) { in raid5_run()
7930 } else if (mddev->recovery_cp == MaxSector) in raid5_run()
7945 conf->reshape_progress != MaxSector) { in raid5_run()
7997 mddev->recovery_cp != MaxSector) { in raid5_run()
8018 if (conf->reshape_progress != MaxSector) { in raid5_run()
8116 && replacement->recovery_offset == MaxSector in raid5_spare_active()
8134 && rdev->recovery_offset == MaxSector in raid5_spare_active()
8184 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8294 mddev->reshape_position == MaxSector && in raid5_add_disk()
8382 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8432 if (mddev->recovery_cp < MaxSector) in raid5_start_reshape()
8552 conf->reshape_progress = MaxSector; in end_reshape()
8553 conf->mddev->reshape_position = MaxSector; in end_reshape()
8558 rdev->recovery_offset = MaxSector; in end_reshape()
8595 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8657 mddev->recovery_cp = MaxSector; in raid45_takeover_raid0()