Searched refs:MaxSector (Results 1 – 9 of 9) sorted by relevance
789 mddev->reshape_position = MaxSector; in mddev_init()793 mddev->resync_max = MaxSector; in mddev_init()1189 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()1520 mddev->reshape_position = MaxSector; in super_90_validate()1530 mddev->resync_offset = MaxSector; in super_90_validate()1649 if (mddev->reshape_position == MaxSector) in super_90_sync()1665 if (mddev->resync_offset == MaxSector) in super_90_sync()2066 mddev->reshape_position = MaxSector; in super_1_validate()2218 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()2264 if (mddev->reshape_position != MaxSector) { in super_1_sync()[all …]
662 if (conf->reshape_progress != MaxSector && in raid10_find_phys()758 best_dist = MaxSector; in read_balance()791 if (best_dist < MaxSector) in read_balance()2065 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()2083 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()2107 if (mddev->resync_offset < MaxSector) in raid10_add_disk()3159 mddev->resync_offset == MaxSector && in raid10_sync_request()3160 mddev->reshape_position == MaxSector && in raid10_sync_request()3215 rdev->recovery_offset = MaxSector; in raid10_sync_request()3875 if (mddev->reshape_position == MaxSector) { in setup_conf()[all …]
756 if (conf->mddev->reshape_position != MaxSector) in has_failed()1023 if (progress == MaxSector) in use_new_offset()2379 sh->log_start = MaxSector; in alloc_stripe()4203 (resync_offset < MaxSector && sh->sector >= resync_offset && in handle_stripe_dirtying()5794 if (mddev->reshape_position != MaxSector) in make_discard_request()5906 sector_t max_sector = 0, min_sector = MaxSector; in stripe_ahead_of_reshape()5994 if (likely(conf->reshape_progress == MaxSector)) in get_reshape_loc()6009 if (reshape_progress == MaxSector) in get_reshape_loc()6250 mddev->reshape_position == MaxSector) { in raid5_make_request()6304 if (likely(conf->reshape_progress == MaxSector)) { in raid5_make_request()[all …]
675 mddev->resync_offset = MaxSector; in raid0_takeover_raid45()718 mddev->resync_offset = MaxSector; in raid0_takeover_raid10()761 mddev->resync_offset = MaxSector; in raid0_takeover_raid1()
758 return opt_iosize > 0 && seq_start != MaxSector && in should_choose_next()796 .closest_dist = MaxSector, in choose_best_rdev()1824 && repl->recovery_offset == MaxSector in raid1_spare_active()1842 && rdev->recovery_offset == MaxSector in raid1_spare_active()1874 info->seq_start = MaxSector; in raid1_add_conf()2791 mddev->resync_offset == MaxSector && in raid1_sync_request()2859 sector_t first_bad = MaxSector; in raid1_sync_request()3196 if (mddev->reshape_position != MaxSector) { in raid1_run()3242 mddev->resync_offset = MaxSector; in raid1_run()3244 if (mddev->resync_offset != MaxSector) in raid1_run()
336 mddev->reshape_position != MaxSector) in recover_bitmaps()344 if (mddev->resync_offset != MaxSector) { in recover_bitmaps()1035 if ((cinfo->slot_number > 0 && mddev->resync_offset != MaxSector) || in leave()1036 (mddev->reshape_position != MaxSector && in leave()
24 #define MaxSector (~(sector_t)0) macro693 if (mddev->reshape_position == MaxSector) in reshape_interrupted()
1168 if (pplhdr && !mddev->pers && mddev->resync_offset != MaxSector) in ppl_load_distributed()1433 mddev->resync_offset = MaxSector; in ppl_init_log()
447 if (READ_ONCE(mddev->reshape_position) == MaxSector || in llbitmap_personality_sync_size()1544 if (boundary == MaxSector) in llbitmap_map_previous()