Searched refs:MaxSector (Results 1 – 10 of 10) sorted by relevance
440 return rs->md.reshape_position != MaxSector; in rs_is_reshaping()762 rs->md.recovery_cp = MaxSector; in raid_set_alloc()1175 rs->dev[i].rdev.recovery_offset = MaxSector; in parse_raid_params()1677 rs->md.recovery_cp = MaxSector; in __rs_setup_recovery()1691 ? MaxSector : dev_sectors; in __rs_setup_recovery()1700 else if (dev_sectors == MaxSector) in rs_setup_recovery()1702 __rs_setup_recovery(rs, MaxSector); in rs_setup_recovery()1707 __rs_setup_recovery(rs, MaxSector); in rs_setup_recovery()2151 if (le64_to_cpu(sb->reshape_position) != MaxSector) { in super_sync()2243 mddev->reshape_position = MaxSector; in super_init_validation()[all …]
569 mddev->reshape_position = MaxSector; in mddev_init()573 mddev->resync_max = MaxSector; in mddev_init()860 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()1173 mddev->reshape_position = MaxSector; in super_90_validate()1181 mddev->recovery_cp = MaxSector; in super_90_validate()1303 if (mddev->reshape_position == MaxSector) in super_90_sync()1319 if (mddev->recovery_cp == MaxSector) in super_90_sync()1698 mddev->reshape_position = MaxSector; in super_1_validate()1810 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()1855 if (mddev->reshape_position != MaxSector) { in super_1_sync()[all …]
664 if (conf->reshape_progress != MaxSector && in raid10_find_phys()757 best_dist = MaxSector; in read_balance()767 if ((conf->mddev->recovery_cp < MaxSector in read_balance()796 if (best_dist < MaxSector) in read_balance()1755 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()1773 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()1796 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()2958 mddev->recovery_cp == MaxSector && in raid10_sync_request()2959 mddev->reshape_position == MaxSector && in raid10_sync_request()3015 rdev->recovery_offset = MaxSector; in raid10_sync_request()[all …]
580 best_dist = MaxSector; in read_balance()633 if (best_dist < MaxSector) in read_balance()696 mirror->seq_start != MaxSector && in read_balance()1681 && repl->recovery_offset == MaxSector in raid1_spare_active()1699 && rdev->recovery_offset == MaxSector in raid1_spare_active()2642 mddev->recovery_cp == MaxSector && in raid1_sync_request()2710 sector_t first_bad = MaxSector; in raid1_sync_request()2977 disk->seq_start = MaxSector; in setup_conf()3057 if (mddev->reshape_position != MaxSector) { in raid1_run()3099 mddev->recovery_cp = MaxSector; in raid1_run()[all …]
644 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()687 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()730 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
625 if (conf->mddev->reshape_position == MaxSector) in has_failed()866 if (progress == MaxSector) in use_new_offset()2158 sh->log_start = MaxSector; in alloc_stripe()3874 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()5484 if (mddev->reshape_position != MaxSector) in make_discard_request()5601 mddev->reshape_position == MaxSector) { in raid5_make_request()5629 if (unlikely(conf->reshape_progress != MaxSector)) { in raid5_make_request()5772 conf->reshape_progress == MaxSector) { in reshape_request()5774 sector_nr = MaxSector; in reshape_request()6946 if (mddev->reshape_position == MaxSector) in setup_conf()[all …]
978 if (sh->log_start == MaxSector) { in r5l_log_stripe()1075 sh->log_start == MaxSector) { in r5l_write_stripe()1596 r5l_wake_reclaim(log, MaxSector); in r5l_quiesce()1874 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()2358 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()
30 #define MaxSector (~(sector_t)0) macro
340 if (mddev->recovery_cp != MaxSector) { in recover_bitmaps()1007 if (cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) in leave()
1184 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()1452 mddev->recovery_cp = MaxSector; in ppl_init_log()