Lines Matching refs:MaxSector
752 if (conf->mddev->reshape_position != MaxSector) in has_failed()
1019 if (progress == MaxSector) in use_new_offset()
2360 sh->log_start = MaxSector; in alloc_stripe()
4110 (resync_offset < MaxSector && sh->sector >= resync_offset && in handle_stripe_dirtying()
5677 if (mddev->reshape_position != MaxSector) in make_discard_request()
5766 sector_t max_sector = 0, min_sector = MaxSector; in stripe_ahead_of_reshape()
5854 if (likely(conf->reshape_progress == MaxSector)) in get_reshape_loc()
5869 if (reshape_progress == MaxSector) in get_reshape_loc()
6096 mddev->reshape_position == MaxSector) { in raid5_make_request()
6137 if (likely(conf->reshape_progress == MaxSector)) { in raid5_make_request()
6233 conf->reshape_progress == MaxSector) { in reshape_request()
6235 sector_nr = MaxSector; in reshape_request()
6270 return MaxSector; in reshape_request()
6290 return MaxSector; in reshape_request()
6296 return MaxSector; in reshape_request()
6299 return MaxSector; in reshape_request()
6988 mddev->reshape_position != MaxSector || mddev->sysfs_active) { in raid5_store_stripe_size()
7520 if (mddev->reshape_position == MaxSector) in setup_conf()
7617 if (conf->reshape_progress != MaxSector) { in setup_conf()
7626 if (mddev->reshape_position != MaxSector) { in setup_conf()
7783 if (mddev->resync_offset != MaxSector) in raid5_run()
7815 if (mddev->reshape_position != MaxSector) { in raid5_run()
7924 } else if (mddev->resync_offset == MaxSector) in raid5_run()
7939 conf->reshape_progress != MaxSector) { in raid5_run()
7991 mddev->resync_offset != MaxSector) { in raid5_run()
8012 if (conf->reshape_progress != MaxSector) { in raid5_run()
8110 && replacement->recovery_offset == MaxSector in raid5_spare_active()
8128 && rdev->recovery_offset == MaxSector in raid5_spare_active()
8178 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8288 mddev->reshape_position == MaxSector && in raid5_add_disk()
8376 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8426 if (mddev->resync_offset < MaxSector) in raid5_start_reshape()
8546 conf->reshape_progress = MaxSector; in end_reshape()
8547 conf->mddev->reshape_position = MaxSector; in end_reshape()
8552 rdev->recovery_offset = MaxSector; in end_reshape()
8589 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8651 mddev->resync_offset = MaxSector; in raid45_takeover_raid0()