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 …]
631 mddev->reshape_position = MaxSector; in mddev_init()635 mddev->resync_max = MaxSector; in mddev_init()922 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()1234 mddev->reshape_position = MaxSector; in super_90_validate()1244 mddev->recovery_cp = MaxSector; in super_90_validate()1366 if (mddev->reshape_position == MaxSector) in super_90_sync()1382 if (mddev->recovery_cp == MaxSector) in super_90_sync()1764 mddev->reshape_position = MaxSector; in super_1_validate()1887 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()1932 if (mddev->reshape_position != MaxSector) { in super_1_sync()[all …]
628 if (conf->reshape_progress != MaxSector && in raid10_find_phys()725 best_dist = MaxSector; in read_balance()735 if ((conf->mddev->recovery_cp < MaxSector in read_balance()766 if (best_dist < MaxSector) in read_balance()1722 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()1740 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()1763 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()2926 mddev->recovery_cp == MaxSector && in raid10_sync_request()2927 mddev->reshape_position == MaxSector && in raid10_sync_request()2983 rdev->recovery_offset = MaxSector; in raid10_sync_request()[all …]
676 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()719 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()762 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
601 best_dist = MaxSector; in read_balance()654 if (best_dist < MaxSector) in read_balance()717 mirror->seq_start != MaxSector && in read_balance()1711 && repl->recovery_offset == MaxSector in raid1_spare_active()1729 && rdev->recovery_offset == MaxSector in raid1_spare_active()2678 mddev->recovery_cp == MaxSector && in raid1_sync_request()2746 sector_t first_bad = MaxSector; in raid1_sync_request()3012 disk->seq_start = MaxSector; in setup_conf()3092 if (mddev->reshape_position != MaxSector) { in raid1_run()3141 mddev->recovery_cp = MaxSector; in raid1_run()[all …]
616 if (conf->mddev->reshape_position == MaxSector) in has_failed()861 if (progress == MaxSector) in use_new_offset()2147 sh->log_start = MaxSector; in alloc_stripe()3881 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()5497 if (mddev->reshape_position != MaxSector) in make_discard_request()5614 mddev->reshape_position == MaxSector) { in raid5_make_request()5642 if (unlikely(conf->reshape_progress != MaxSector)) { in raid5_make_request()5786 conf->reshape_progress == MaxSector) { in reshape_request()5788 sector_nr = MaxSector; in reshape_request()6968 if (mddev->reshape_position == MaxSector) in setup_conf()[all …]
969 if (sh->log_start == MaxSector) { in r5l_log_stripe()1066 sh->log_start == MaxSector) { in r5l_write_stripe()1587 r5l_wake_reclaim(log, MaxSector); in r5l_quiesce()1865 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()2360 sector_t next_checkpoint = MaxSector; in r5c_recovery_rewrite_data_only_stripes()2844 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()2922 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()1003 if ((cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) || in leave()1004 (mddev->reshape_position != MaxSector && in leave()
23 #define MaxSector (~(sector_t)0) macro
1179 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()1448 mddev->recovery_cp = MaxSector; in ppl_init_log()