Home
last modified time | relevance | path

Searched refs:MaxSector (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/drivers/md/
H A Dmd.c687 mddev->resync_max = MaxSector; in mddev_init()
1382 mddev->recovery_cp = MaxSector; in super_90_validate()
3405 recovery_start == MaxSector) in recovery_start_show()
3416 recovery_start = MaxSector; in recovery_start_store()
3425 if (recovery_start == MaxSector) in recovery_start_store()
4282 n = MaxSector; in resync_start_store()
5276 mddev->resync_max = MaxSector; in max_sync_store()
6357 mddev->resync_max = MaxSector; in md_clean()
8901 start = MaxSector; in md_sync_position()
8926 return MaxSector; in md_sync_position()
[all …]
H A Draid10.c741 best_dist = MaxSector; in read_balance()
774 if (best_dist < MaxSector) in read_balance()
2111 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
3959 conf->reshape_progress = MaxSector; in setup_conf()
4148 if (mddev->recovery_cp != MaxSector) in raid10_run()
4278 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
4592 conf->reshape_progress = MaxSector; in raid10_start_reshape()
4593 conf->reshape_safe = MaxSector; in raid10_start_reshape()
4594 mddev->reshape_position = MaxSector; in raid10_start_reshape()
4960 conf->reshape_progress = MaxSector; in end_reshape()
[all …]
H A Ddm-raid.c447 return rs->md.reshape_position != MaxSector; in rs_is_reshaping()
771 rs->md.recovery_cp = MaxSector; in raid_set_alloc()
1702 rs->md.recovery_cp = MaxSector; in rs_setup_recovery()
1716 ? MaxSector : dev_sectors; in rs_setup_recovery()
2260 mddev->reshape_position = MaxSector; in super_init_validation()
2503 if (rdev->recovery_offset == MaxSector) in super_validate()
2762 mddev->recovery_cp = MaxSector; in rs_setup_takeover()
3177 rs_setup_recovery(rs, MaxSector); in raid_ctr()
3209 rs_setup_recovery(rs, MaxSector); in raid_ctr()
3218 rs_setup_recovery(rs, MaxSector); in raid_ctr()
[all …]
H A Draid5.c1019 if (progress == MaxSector) in use_new_offset()
2368 sh->log_start = MaxSector; in alloc_stripe()
5877 if (reshape_progress == MaxSector) in get_reshape_loc()
6243 sector_nr = MaxSector; in reshape_request()
6278 return MaxSector; in reshape_request()
6298 return MaxSector; in reshape_request()
6304 return MaxSector; in reshape_request()
6307 return MaxSector; in reshape_request()
7791 if (mddev->recovery_cp != MaxSector) in raid5_run()
8434 if (mddev->recovery_cp < MaxSector) in raid5_start_reshape()
[all …]
H A Draid0.c676 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()
H A Draid1.c734 return opt_iosize > 0 && mirror->seq_start != MaxSector && in should_choose_next()
772 .closest_dist = MaxSector, in choose_best_rdev()
1841 && repl->recovery_offset == MaxSector in raid1_spare_active()
1859 && rdev->recovery_offset == MaxSector in raid1_spare_active()
1891 info->seq_start = MaxSector; in raid1_add_conf()
2824 mddev->recovery_cp == MaxSector && in raid1_sync_request()
2891 sector_t first_bad = MaxSector; in raid1_sync_request()
3241 if (mddev->reshape_position != MaxSector) { in raid1_run()
3286 mddev->recovery_cp = MaxSector; in raid1_run()
3288 if (mddev->recovery_cp != MaxSector) in raid1_run()
H A Dmd.h24 #define MaxSector (~(sector_t)0) macro
682 if (mddev->reshape_position == MaxSector) in reshape_interrupted()
H A Draid5-cache.c964 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()
H A Dmd-cluster.c336 mddev->reshape_position != MaxSector) in recover_bitmaps()
344 if (mddev->recovery_cp != MaxSector) { in recover_bitmaps()
1030 if ((cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) || in leave()
1031 (mddev->reshape_position != MaxSector && in leave()
H A Draid5-ppl.c1166 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()
1432 mddev->recovery_cp = MaxSector; in ppl_init_log()