Searched refs:MaxSector (Results 1 – 8 of 8) sorted by relevance
537 best_dist = MaxSector; in read_balance()589 if (best_dist < MaxSector) in read_balance()645 mirror->seq_start != MaxSector && in read_balance()887 if (conf->start_next_window == MaxSector) in wait_barrier()931 conf->start_next_window = MaxSector; in allow_barrier()1520 conf->next_resync = MaxSector - 2 * NEXT_NORMALIO_DISTANCE; in close_sync()1521 conf->start_next_window = MaxSector; in close_sync()1548 && repl->recovery_offset == MaxSector in raid1_spare_active()1566 && rdev->recovery_offset == MaxSector in raid1_spare_active()2521 mddev->recovery_cp == MaxSector && in sync_request()[all …]
509 mddev->reshape_position = MaxSector; in mddev_init()513 mddev->resync_max = MaxSector; in mddev_init()772 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()1087 mddev->reshape_position = MaxSector; in super_90_validate()1095 mddev->recovery_cp = MaxSector; in super_90_validate()1215 if (mddev->reshape_position == MaxSector) in super_90_sync()1231 if (mddev->recovery_cp == MaxSector) in super_90_sync()1603 mddev->reshape_position = MaxSector; in super_1_validate()1656 if (mddev->recovery_cp == MaxSector) in super_1_validate()1704 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()[all …]
619 if (conf->reshape_progress != MaxSector && in raid10_find_phys()714 best_dist = MaxSector; in read_balance()723 if (conf->mddev->recovery_cp < MaxSector in read_balance()749 if (best_dist < MaxSector) in read_balance()1652 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()1670 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()1693 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()2831 mddev->recovery_cp == MaxSector && in sync_request()2832 mddev->reshape_position == MaxSector && in sync_request()2884 = MaxSector; in sync_request()[all …]
535 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()576 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()618 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
548 rs->dev[i].rdev.recovery_offset = MaxSector; in parse_raid_params()556 rs->md.recovery_cp = MaxSector; in parse_raid_params()986 } else if (mddev->recovery_cp != MaxSector) { in super_init_validation()1046 if (rdev->recovery_offset != MaxSector) in super_validate()1477 (rs->md.recovery_cp == MaxSector)) in raid_status()
647 if (conf->mddev->reshape_position == MaxSector) in has_failed()870 if (progress == MaxSector) in use_new_offset()3571 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()5059 if (mddev->reshape_position != MaxSector) in make_discard_request()5175 mddev->reshape_position == MaxSector) { in make_request()5203 if (unlikely(conf->reshape_progress != MaxSector)) { in make_request()5364 conf->reshape_progress == MaxSector) { in reshape_request()5366 sector_nr = MaxSector; in reshape_request()6531 if (mddev->reshape_position == MaxSector) in setup_conf()6609 if (conf->reshape_progress != MaxSector) { in setup_conf()[all …]
29 #define MaxSector (~(sector_t)0) macro
813 if (cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) in leave()