Lines Matching refs:MaxSector
756 if (conf->mddev->reshape_position != MaxSector) in has_failed()
1023 if (progress == MaxSector) in use_new_offset()
2364 sh->log_start = MaxSector; in alloc_stripe()
4116 (resync_offset < MaxSector && sh->sector >= resync_offset && in handle_stripe_dirtying()
5700 if (mddev->reshape_position != MaxSector) in make_discard_request()
5789 sector_t max_sector = 0, min_sector = MaxSector; in stripe_ahead_of_reshape()
5877 if (likely(conf->reshape_progress == MaxSector)) in get_reshape_loc()
5892 if (reshape_progress == MaxSector) in get_reshape_loc()
6114 mddev->reshape_position == MaxSector) { in raid5_make_request()
6165 if (likely(conf->reshape_progress == MaxSector)) { in raid5_make_request()
6263 conf->reshape_progress == MaxSector) { in reshape_request()
6265 sector_nr = MaxSector; in reshape_request()
6300 return MaxSector; in reshape_request()
6320 return MaxSector; in reshape_request()
6326 return MaxSector; in reshape_request()
6329 return MaxSector; in reshape_request()
7019 mddev->reshape_position != MaxSector || mddev->sysfs_active) { in raid5_store_stripe_size()
7552 if (mddev->reshape_position == MaxSector) in setup_conf()
7648 if (conf->reshape_progress != MaxSector) { in setup_conf()
7657 if (mddev->reshape_position != MaxSector) { in setup_conf()
7837 if (mddev->resync_offset != MaxSector) in raid5_run()
7869 if (mddev->reshape_position != MaxSector) { in raid5_run()
7978 } else if (mddev->resync_offset == MaxSector) in raid5_run()
7993 conf->reshape_progress != MaxSector) { in raid5_run()
8045 mddev->resync_offset != MaxSector) { in raid5_run()
8066 if (conf->reshape_progress != MaxSector) { in raid5_run()
8169 && replacement->recovery_offset == MaxSector in raid5_spare_active()
8187 && rdev->recovery_offset == MaxSector in raid5_spare_active()
8237 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8344 mddev->reshape_position == MaxSector && in raid5_add_disk()
8434 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8484 if (mddev->resync_offset < MaxSector) in raid5_start_reshape()
8604 conf->reshape_progress = MaxSector; in end_reshape()
8605 conf->mddev->reshape_position = MaxSector; in end_reshape()
8610 rdev->recovery_offset = MaxSector; in end_reshape()
8647 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8709 mddev->resync_offset = MaxSector; in raid45_takeover_raid0()