Searched refs:MaxSector (Results 1 – 10 of 10) sorted by relevance
441 return rs->md.reshape_position != MaxSector; in rs_is_reshaping()763 rs->md.recovery_cp = MaxSector; in raid_set_alloc()1170 rs->dev[i].rdev.recovery_offset = MaxSector; in parse_raid_params()1643 rs->md.recovery_cp = MaxSector; in __rs_setup_recovery()1657 ? MaxSector : dev_sectors; in __rs_setup_recovery()1666 else if (dev_sectors == MaxSector) in rs_setup_recovery()1668 __rs_setup_recovery(rs, MaxSector); in rs_setup_recovery()1673 __rs_setup_recovery(rs, MaxSector); in rs_setup_recovery()2117 if (le64_to_cpu(sb->reshape_position) != MaxSector) { in super_sync()2209 mddev->reshape_position = MaxSector; in super_init_validation()[all …]
660 if (conf->reshape_progress != MaxSector && in raid10_find_phys()754 best_dist = MaxSector; in read_balance()764 if (conf->mddev->recovery_cp < MaxSector in read_balance()790 if (best_dist < MaxSector) in read_balance()1726 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()1744 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()1767 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()2895 mddev->recovery_cp == MaxSector && in raid10_sync_request()2896 mddev->reshape_position == MaxSector && in raid10_sync_request()2949 rdev->recovery_offset = MaxSector; in raid10_sync_request()[all …]
562 mddev->reshape_position = MaxSector; in mddev_init()566 mddev->resync_max = MaxSector; in mddev_init()852 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()1165 mddev->reshape_position = MaxSector; in super_90_validate()1173 mddev->recovery_cp = MaxSector; in super_90_validate()1295 if (mddev->reshape_position == MaxSector) in super_90_sync()1311 if (mddev->recovery_cp == MaxSector) in super_90_sync()1690 mddev->reshape_position = MaxSector; in super_1_validate()1809 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()1854 if (mddev->reshape_position != MaxSector) { in super_1_sync()[all …]
583 best_dist = MaxSector; in read_balance()636 if (best_dist < MaxSector) in read_balance()699 mirror->seq_start != MaxSector && in read_balance()1674 && repl->recovery_offset == MaxSector in raid1_spare_active()1692 && rdev->recovery_offset == MaxSector in raid1_spare_active()2648 mddev->recovery_cp == MaxSector && in raid1_sync_request()2713 sector_t first_bad = MaxSector; in raid1_sync_request()2981 disk->seq_start = MaxSector; in setup_conf()3062 if (mddev->reshape_position != MaxSector) { in raid1_run()3111 mddev->recovery_cp = MaxSector; in raid1_run()[all …]
672 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()715 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()758 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
628 if (conf->mddev->reshape_position == MaxSector) in has_failed()869 if (progress == MaxSector) in use_new_offset()2156 sh->log_start = MaxSector; in alloc_stripe()3874 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()5492 if (mddev->reshape_position != MaxSector) in make_discard_request()5609 mddev->reshape_position == MaxSector) { in raid5_make_request()5637 if (unlikely(conf->reshape_progress != MaxSector)) { in raid5_make_request()5780 conf->reshape_progress == MaxSector) { in reshape_request()5782 sector_nr = MaxSector; in reshape_request()6942 if (mddev->reshape_position == MaxSector) in setup_conf()[all …]
980 if (sh->log_start == MaxSector) { in r5l_log_stripe()1077 sh->log_start == MaxSector) { in r5l_write_stripe()1603 r5l_wake_reclaim(log, MaxSector); in r5l_quiesce()1881 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()2376 sector_t next_checkpoint = MaxSector; in r5c_recovery_rewrite_data_only_stripes()2861 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()2939 sh->log_start == MaxSector) in r5c_cache_data()
30 #define MaxSector (~(sector_t)0) macro
1044 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()1308 mddev->recovery_cp = MaxSector; in ppl_init_log()
340 if (mddev->recovery_cp != MaxSector) { in recover_bitmaps()997 if (cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) in leave()