Searched refs:MaxSector (Results 1 – 10 of 10) sorted by relevance
681 mddev->reshape_position = MaxSector; in mddev_init()685 mddev->resync_max = MaxSector; in mddev_init()1001 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()1323 mddev->reshape_position = MaxSector; in super_90_validate()1333 mddev->recovery_cp = MaxSector; in super_90_validate()1455 if (mddev->reshape_position == MaxSector) in super_90_sync()1471 if (mddev->recovery_cp == MaxSector) in super_90_sync()1862 mddev->reshape_position = MaxSector; in super_1_validate()2017 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()2062 if (mddev->reshape_position != MaxSector) { in super_1_sync()[all …]
648 if (conf->reshape_progress != MaxSector && in raid10_find_phys()745 best_dist = MaxSector; in read_balance()755 if ((conf->mddev->recovery_cp < MaxSector in read_balance()794 if (best_dist < MaxSector) in read_balance()2093 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()2111 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()2135 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()3292 mddev->recovery_cp == MaxSector && in raid10_sync_request()3293 mddev->reshape_position == MaxSector && in raid10_sync_request()3353 rdev->recovery_offset = MaxSector; in raid10_sync_request()[all …]
446 return rs->md.reshape_position != MaxSector; in rs_is_reshaping()766 rs->md.recovery_cp = MaxSector; in raid_set_alloc()1181 rs->dev[i].rdev.recovery_offset = MaxSector; in parse_raid_params()1679 rs->md.recovery_cp = MaxSector; in rs_setup_recovery()1693 ? MaxSector : dev_sectors; in rs_setup_recovery()2137 if (le64_to_cpu(sb->reshape_position) != MaxSector) { in super_sync()2228 mddev->reshape_position = MaxSector; in super_init_validation()2471 if (rdev->recovery_offset == MaxSector) in super_validate()2730 mddev->recovery_cp = MaxSector; in rs_setup_takeover()2887 rdev->recovery_offset = rs_is_raid1(rs) ? 0 : MaxSector; in rs_setup_reshape()[all …]
752 if (conf->mddev->reshape_position != MaxSector) in has_failed()1018 if (progress == MaxSector) in use_new_offset()2382 sh->log_start = MaxSector; in alloc_stripe()4164 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()5750 if (mddev->reshape_position != MaxSector) in make_discard_request()5840 sector_t max_sector = 0, min_sector = MaxSector; in stripe_ahead_of_reshape()5950 if (reshape_progress == MaxSector) in get_reshape_loc()6020 if (unlikely(conf->reshape_progress != MaxSector)) { in make_stripe_request()6183 mddev->reshape_position == MaxSector) { in raid5_make_request()6209 (conf->reshape_progress != MaxSector) && in raid5_make_request()[all …]
669 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()712 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()755 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
617 best_dist = MaxSector; in read_balance()670 if (best_dist < MaxSector) in read_balance()733 mirror->seq_start != MaxSector && in read_balance()1719 && repl->recovery_offset == MaxSector in raid1_spare_active()1737 && rdev->recovery_offset == MaxSector in raid1_spare_active()2684 mddev->recovery_cp == MaxSector && in raid1_sync_request()2752 sector_t first_bad = MaxSector; in raid1_sync_request()3018 disk->seq_start = MaxSector; in setup_conf()3097 if (mddev->reshape_position != MaxSector) { in raid1_run()3143 mddev->recovery_cp = MaxSector; in raid1_run()[all …]
965 if (sh->log_start == MaxSector) { in r5l_log_stripe()1062 sh->log_start == MaxSector) { in r5l_write_stripe()1585 r5l_wake_reclaim(log, MaxSector); in r5l_quiesce()1855 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()2351 sector_t next_checkpoint = MaxSector; in r5c_recovery_rewrite_data_only_stripes()2842 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()2920 sh->log_start == MaxSector) in r5c_cache_data()
327 mddev->reshape_position != MaxSector) in recover_bitmaps()335 if (mddev->recovery_cp != MaxSector) { in recover_bitmaps()1012 if ((cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) || in leave()1013 (mddev->reshape_position != MaxSector && in leave()
23 #define MaxSector (~(sector_t)0) macro
1172 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()1439 mddev->recovery_cp = MaxSector; in ppl_init_log()