Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Dmd.c677 mddev->resync_max = MaxSector; in mddev_init()
1322 mddev->recovery_cp = MaxSector; in super_90_validate()
3431 recovery_start == MaxSector) in recovery_start_show()
3442 recovery_start = MaxSector; in recovery_start_store()
3451 if (recovery_start == MaxSector) in recovery_start_store()
4290 n = MaxSector; in resync_start_store()
5141 mddev->resync_max = MaxSector; in max_sync_store()
6233 mddev->resync_max = MaxSector; in md_clean()
7250 mddev->recovery_cp = MaxSector; in md_set_array_info()
8951 j = MaxSector; in md_do_sync()
[all …]
H A Draid10.c751 best_dist = MaxSector; in read_balance()
800 if (best_dist < MaxSector) in read_balance()
2152 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
4101 conf->reshape_progress = MaxSector; in setup_conf()
4277 if (mddev->recovery_cp != MaxSector) in raid10_run()
4410 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
4734 conf->reshape_progress = MaxSector; in raid10_start_reshape()
4735 conf->reshape_safe = MaxSector; in raid10_start_reshape()
4736 mddev->reshape_position = MaxSector; in raid10_start_reshape()
5107 conf->reshape_progress = MaxSector; in end_reshape()
[all …]
H A Ddm-raid.c446 return rs->md.reshape_position != MaxSector; in rs_is_reshaping()
766 rs->md.recovery_cp = MaxSector; in raid_set_alloc()
1679 rs->md.recovery_cp = MaxSector; in rs_setup_recovery()
1693 ? MaxSector : dev_sectors; in rs_setup_recovery()
2228 mddev->reshape_position = MaxSector; in super_init_validation()
2471 if (rdev->recovery_offset == MaxSector) in super_validate()
2730 mddev->recovery_cp = MaxSector; in rs_setup_takeover()
3162 rs_setup_recovery(rs, MaxSector); in raid_ctr()
3194 rs_setup_recovery(rs, MaxSector); in raid_ctr()
3203 rs_setup_recovery(rs, MaxSector); in raid_ctr()
[all …]
H A Draid5.c1019 if (progress == MaxSector) in use_new_offset()
2385 sh->log_start = MaxSector; in alloc_stripe()
6295 sector_nr = MaxSector; in reshape_request()
7784 if (mddev->recovery_cp != MaxSector) in raid5_run()
8509 if (mddev->recovery_cp < MaxSector) in raid5_start_reshape()
8625 conf->reshape_progress = MaxSector; in raid5_start_reshape()
8626 mddev->reshape_position = MaxSector; in raid5_start_reshape()
8650 conf->reshape_progress = MaxSector; in end_reshape()
8656 rdev->recovery_offset = MaxSector; in end_reshape()
8695 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
[all …]
H A Draid0.c669 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()
712 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()
755 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
H A Draid1.c622 best_dist = MaxSector; in read_balance()
675 if (best_dist < MaxSector) in read_balance()
738 mirror->seq_start != MaxSector && in read_balance()
1737 && repl->recovery_offset == MaxSector in raid1_spare_active()
1755 && rdev->recovery_offset == MaxSector in raid1_spare_active()
2707 mddev->recovery_cp == MaxSector && in raid1_sync_request()
2775 sector_t first_bad = MaxSector; in raid1_sync_request()
3041 disk->seq_start = MaxSector; in setup_conf()
3120 if (mddev->reshape_position != MaxSector) { in raid1_run()
3166 mddev->recovery_cp = MaxSector; in raid1_run()
[all …]
H A Draid5-cache.c966 if (sh->log_start == MaxSector) { in r5l_log_stripe()
1063 sh->log_start == MaxSector) { in r5l_write_stripe()
1586 r5l_wake_reclaim(log, MaxSector); in r5l_quiesce()
1856 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()
2352 sector_t next_checkpoint = MaxSector; in r5c_recovery_rewrite_data_only_stripes()
2843 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()
2921 sh->log_start == MaxSector) in r5c_cache_data()
H A Dmd-cluster.c327 mddev->reshape_position != MaxSector) in recover_bitmaps()
335 if (mddev->recovery_cp != MaxSector) { in recover_bitmaps()
1012 if ((cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) || in leave()
1013 (mddev->reshape_position != MaxSector && in leave()
H A Dmd.h23 #define MaxSector (~(sector_t)0) macro
H A Draid5-ppl.c1172 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()
1439 mddev->recovery_cp = MaxSector; in ppl_init_log()