Searched refs:MaxSector (Results 1 – 10 of 10) sorted by relevance
782 mddev->reshape_position = MaxSector; in mddev_init()786 mddev->resync_max = MaxSector; in mddev_init()1182 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()1513 mddev->reshape_position = MaxSector; in super_90_validate()1523 mddev->resync_offset = MaxSector; in super_90_validate()1642 if (mddev->reshape_position == MaxSector) in super_90_sync()1658 if (mddev->resync_offset == MaxSector) in super_90_sync()2052 mddev->reshape_position = MaxSector; in super_1_validate()2204 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()2250 if (mddev->reshape_position != MaxSector) { in super_1_sync()[all …]
648 if (conf->reshape_progress != MaxSector && in raid10_find_phys()744 best_dist = MaxSector; in read_balance()777 if (best_dist < MaxSector) in read_balance()2072 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()2090 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()2114 if (mddev->resync_offset < MaxSector) in raid10_add_disk()3166 mddev->resync_offset == MaxSector && in raid10_sync_request()3167 mddev->reshape_position == MaxSector && in raid10_sync_request()3222 rdev->recovery_offset = MaxSector; in raid10_sync_request()3881 if (mddev->reshape_position == MaxSector) { in setup_conf()[all …]
447 return rs->md.reshape_position != MaxSector; in rs_is_reshaping()771 rs->md.resync_offset = MaxSector; in raid_set_alloc()1187 rs->dev[i].rdev.recovery_offset = MaxSector; in parse_raid_params()1698 rs->md.resync_offset = MaxSector; in rs_setup_recovery()1712 ? MaxSector : dev_sectors; in rs_setup_recovery()2165 if (le64_to_cpu(sb->reshape_position) != MaxSector) { in super_sync()2256 mddev->reshape_position = MaxSector; in super_init_validation()2501 if (rdev->recovery_offset == MaxSector) in super_validate()2764 mddev->resync_offset = MaxSector; in rs_setup_takeover()2904 rdev->recovery_offset = rs_is_raid1(rs) ? 0 : MaxSector; in rs_setup_reshape()[all …]
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()4116 (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()[all …]
672 mddev->resync_offset = MaxSector; in raid0_takeover_raid45()715 mddev->resync_offset = MaxSector; in raid0_takeover_raid10()758 mddev->resync_offset = MaxSector; in raid0_takeover_raid1()
733 return opt_iosize > 0 && mirror->seq_start != MaxSector && in should_choose_next()771 .closest_dist = MaxSector, in choose_best_rdev()1838 && repl->recovery_offset == MaxSector in raid1_spare_active()1856 && rdev->recovery_offset == MaxSector in raid1_spare_active()1888 info->seq_start = MaxSector; in raid1_add_conf()2809 mddev->resync_offset == MaxSector && in raid1_sync_request()2877 sector_t first_bad = MaxSector; in raid1_sync_request()3212 if (mddev->reshape_position != MaxSector) { in raid1_run()3258 mddev->resync_offset = MaxSector; in raid1_run()3260 if (mddev->resync_offset != MaxSector) in raid1_run()
964 if (sh->log_start == MaxSector) { in r5l_log_stripe()1061 sh->log_start == MaxSector) { in r5l_write_stripe()1584 r5l_wake_reclaim(log, MaxSector); in r5l_quiesce()1853 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()2343 sector_t next_checkpoint = MaxSector; in r5c_recovery_rewrite_data_only_stripes()2828 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()2906 sh->log_start == MaxSector) in r5c_cache_data()
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) macro689 if (mddev->reshape_position == MaxSector) in reshape_interrupted()
1166 if (pplhdr && !mddev->pers && mddev->resync_offset != MaxSector) in ppl_load_distributed()1431 mddev->resync_offset = MaxSector; in ppl_init_log()