Searched refs:MaxSector (Results 1 – 8 of 8) sorted by relevance
787 mddev->reshape_position = MaxSector; in mddev_init()791 mddev->resync_max = MaxSector; in mddev_init()1187 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()1518 mddev->reshape_position = MaxSector; in super_90_validate()1528 mddev->resync_offset = MaxSector; in super_90_validate()1647 if (mddev->reshape_position == MaxSector) in super_90_sync()1663 if (mddev->resync_offset == MaxSector) in super_90_sync()2057 mddev->reshape_position = MaxSector; in super_1_validate()2209 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()2255 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()3883 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()4118 (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 …]
756 return opt_iosize > 0 && mirror->seq_start != MaxSector && in should_choose_next()794 .closest_dist = MaxSector, in choose_best_rdev()1854 && repl->recovery_offset == MaxSector in raid1_spare_active()1872 && rdev->recovery_offset == MaxSector in raid1_spare_active()1904 info->seq_start = MaxSector; in raid1_add_conf()2825 mddev->resync_offset == MaxSector && in raid1_sync_request()2893 sector_t first_bad = MaxSector; in raid1_sync_request()3228 if (mddev->reshape_position != MaxSector) { in raid1_run()3274 mddev->resync_offset = MaxSector; in raid1_run()3276 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) macro692 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()