Lines Matching refs:MaxSector
753 if (conf->mddev->reshape_position != MaxSector) in has_failed()
1020 if (progress == MaxSector) in use_new_offset()
2386 sh->log_start = MaxSector; in alloc_stripe()
4203 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5793 if (mddev->reshape_position != MaxSector) in make_discard_request()
5890 sector_t max_sector = 0, min_sector = MaxSector; in stripe_ahead_of_reshape()
5989 if (unlikely(conf->reshape_progress != MaxSector)) { in make_stripe_request()
6166 mddev->reshape_position == MaxSector) { in raid5_make_request()
6192 (conf->reshape_progress != MaxSector) && in raid5_make_request()
6209 if (likely(conf->reshape_progress == MaxSector)) in raid5_make_request()
6294 conf->reshape_progress == MaxSector) { in reshape_request()
6296 sector_nr = MaxSector; in reshape_request()
7053 mddev->reshape_position != MaxSector || in raid5_store_stripe_size()
7585 if (mddev->reshape_position == MaxSector) in setup_conf()
7682 if (conf->reshape_progress != MaxSector) { in setup_conf()
7691 if (mddev->reshape_position != MaxSector) { in setup_conf()
7791 if (mddev->recovery_cp != MaxSector) in raid5_run()
7823 if (mddev->reshape_position != MaxSector) { in raid5_run()
7932 } else if (mddev->recovery_cp == MaxSector) in raid5_run()
7955 conf->reshape_progress != MaxSector) { in raid5_run()
8007 mddev->recovery_cp != MaxSector) { in raid5_run()
8028 if (conf->reshape_progress != MaxSector) { in raid5_run()
8188 && replacement->recovery_offset == MaxSector in raid5_spare_active()
8206 && rdev->recovery_offset == MaxSector in raid5_spare_active()
8256 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8379 mddev->reshape_position == MaxSector && in raid5_add_disk()
8466 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8516 if (mddev->recovery_cp < MaxSector) in raid5_start_reshape()
8632 conf->reshape_progress = MaxSector; in raid5_start_reshape()
8633 mddev->reshape_position = MaxSector; in raid5_start_reshape()
8657 conf->reshape_progress = MaxSector; in end_reshape()
8658 conf->mddev->reshape_position = MaxSector; in end_reshape()
8663 rdev->recovery_offset = MaxSector; in end_reshape()
8702 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8764 mddev->recovery_cp = MaxSector; in raid45_takeover_raid0()