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()
4118 (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()
6268 conf->reshape_progress == MaxSector) { in reshape_request()
6270 sector_nr = MaxSector; in reshape_request()
6305 return MaxSector; in reshape_request()
6325 return MaxSector; in reshape_request()
6331 return MaxSector; in reshape_request()
6334 return MaxSector; in reshape_request()
7030 mddev->reshape_position != MaxSector || mddev->sysfs_active) { in raid5_store_stripe_size()
7563 if (mddev->reshape_position == MaxSector) in setup_conf()
7659 if (conf->reshape_progress != MaxSector) { in setup_conf()
7668 if (mddev->reshape_position != MaxSector) { in setup_conf()
7849 if (mddev->resync_offset != MaxSector) in raid5_run()
7881 if (mddev->reshape_position != MaxSector) { in raid5_run()
7990 } else if (mddev->resync_offset == MaxSector) in raid5_run()
8005 conf->reshape_progress != MaxSector) { in raid5_run()
8057 mddev->resync_offset != MaxSector) { in raid5_run()
8078 if (conf->reshape_progress != MaxSector) { in raid5_run()
8181 && replacement->recovery_offset == MaxSector in raid5_spare_active()
8199 && rdev->recovery_offset == MaxSector in raid5_spare_active()
8249 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8356 mddev->reshape_position == MaxSector && in raid5_add_disk()
8446 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8496 if (mddev->resync_offset < MaxSector) in raid5_start_reshape()
8616 conf->reshape_progress = MaxSector; in end_reshape()
8617 conf->mddev->reshape_position = MaxSector; in end_reshape()
8622 rdev->recovery_offset = MaxSector; in end_reshape()
8659 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8721 mddev->resync_offset = MaxSector; in raid45_takeover_raid0()