Home
last modified time | relevance | path

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

/drivers/md/
A Dmd.c713 mddev->resync_max = MaxSector; in mddev_init()
1418 mddev->resync_offset = MaxSector; in super_90_validate()
3441 recovery_start == MaxSector) in recovery_start_show()
3452 recovery_start = MaxSector; in recovery_start_store()
3461 if (recovery_start == MaxSector) in recovery_start_store()
4318 n = MaxSector; in resync_start_store()
5341 mddev->resync_max = MaxSector; in max_sync_store()
6428 mddev->resync_max = MaxSector; in md_clean()
8968 start = MaxSector; in md_sync_position()
8993 return MaxSector; in md_sync_position()
[all …]
A Draid10.c742 best_dist = MaxSector; in read_balance()
775 if (best_dist < MaxSector) in read_balance()
2120 if (mddev->resync_offset < MaxSector) in raid10_add_disk()
3958 conf->reshape_progress = MaxSector; in setup_conf()
4278 mddev->resync_offset = 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()
4958 conf->reshape_progress = MaxSector; in end_reshape()
4959 conf->reshape_safe = MaxSector; in end_reshape()
[all …]
A Ddm-raid.c447 return rs->md.reshape_position != MaxSector; in rs_is_reshaping()
771 rs->md.resync_offset = MaxSector; in raid_set_alloc()
1698 rs->md.resync_offset = MaxSector; in rs_setup_recovery()
1712 ? MaxSector : dev_sectors; in rs_setup_recovery()
2256 mddev->reshape_position = MaxSector; in super_init_validation()
2499 if (rdev->recovery_offset == MaxSector) in super_validate()
2762 mddev->resync_offset = 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 …]
A Draid5.c1019 if (progress == MaxSector) in use_new_offset()
2360 sh->log_start = MaxSector; in alloc_stripe()
5869 if (reshape_progress == MaxSector) in get_reshape_loc()
6235 sector_nr = MaxSector; in reshape_request()
6270 return MaxSector; in reshape_request()
6290 return MaxSector; in reshape_request()
6296 return MaxSector; in reshape_request()
6299 return MaxSector; in reshape_request()
8426 if (mddev->resync_offset < MaxSector) in raid5_start_reshape()
8546 conf->reshape_progress = MaxSector; in end_reshape()
[all …]
A Draid0.c677 mddev->resync_offset = MaxSector; in raid0_takeover_raid45()
720 mddev->resync_offset = MaxSector; in raid0_takeover_raid10()
763 mddev->resync_offset = MaxSector; in raid0_takeover_raid1()
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()
2823 mddev->resync_offset == MaxSector && in raid1_sync_request()
2890 sector_t first_bad = MaxSector; in raid1_sync_request()
3232 if (mddev->reshape_position != MaxSector) { in raid1_run()
3277 mddev->resync_offset = MaxSector; in raid1_run()
3279 if (mddev->resync_offset != MaxSector) in raid1_run()
A Dmd.h24 #define MaxSector (~(sector_t)0) macro
685 if (mddev->reshape_position == MaxSector) in reshape_interrupted()
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()
A Dmd-cluster.c336 mddev->reshape_position != MaxSector) in recover_bitmaps()
344 if (mddev->resync_offset != MaxSector) { in recover_bitmaps()
1030 if ((cinfo->slot_number > 0 && mddev->resync_offset != MaxSector) || in leave()
1031 (mddev->reshape_position != MaxSector && in leave()
A Draid5-ppl.c1166 if (pplhdr && !mddev->pers && mddev->resync_offset != MaxSector) in ppl_load_distributed()
1432 mddev->resync_offset = MaxSector; in ppl_init_log()

Completed in 64 milliseconds