Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/md/
Draid10.c628 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()
1704 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()
1722 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()
1745 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
2908 mddev->recovery_cp == MaxSector && in raid10_sync_request()
2909 mddev->reshape_position == MaxSector && in raid10_sync_request()
2965 rdev->recovery_offset = MaxSector; in raid10_sync_request()
[all …]
Dmd.c740 mddev->reshape_position = MaxSector; in mddev_init()
744 mddev->resync_max = MaxSector; in mddev_init()
1038 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1363 mddev->reshape_position = MaxSector; in super_90_validate()
1373 mddev->recovery_cp = MaxSector; in super_90_validate()
1495 if (mddev->reshape_position == MaxSector) in super_90_sync()
1511 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1905 mddev->reshape_position = MaxSector; in super_1_validate()
2028 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2073 if (mddev->reshape_position != MaxSector) { in super_1_sync()
[all …]
Ddm-raid.c445 return rs->md.reshape_position != MaxSector; in rs_is_reshaping()
766 rs->md.recovery_cp = MaxSector; in raid_set_alloc()
1179 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()
2128 if (le64_to_cpu(sb->reshape_position) != MaxSector) { in super_sync()
2220 mddev->reshape_position = MaxSector; in super_init_validation()
2466 if (rdev->recovery_offset == MaxSector) in super_validate()
2725 mddev->recovery_cp = MaxSector; in rs_setup_takeover()
2882 rdev->recovery_offset = rs_is_raid1(rs) ? 0 : MaxSector; in rs_setup_reshape()
[all …]
Draid0.c627 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()
670 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()
713 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
Draid5.c693 if (conf->mddev->reshape_position == MaxSector) in has_failed()
938 if (progress == MaxSector) in use_new_offset()
2308 sh->log_start = MaxSector; in alloc_stripe()
4093 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5686 if (mddev->reshape_position != MaxSector) in make_discard_request()
5803 mddev->reshape_position == MaxSector) { in raid5_make_request()
5831 if (unlikely(conf->reshape_progress != MaxSector)) { in raid5_make_request()
5974 conf->reshape_progress == MaxSector) { in reshape_request()
5976 sector_nr = MaxSector; in reshape_request()
6720 mddev->reshape_position != MaxSector || in raid5_store_stripe_size()
[all …]
Draid1.c618 best_dist = MaxSector; in read_balance()
671 if (best_dist < MaxSector) in read_balance()
734 mirror->seq_start != MaxSector && in read_balance()
1693 && repl->recovery_offset == MaxSector in raid1_spare_active()
1711 && rdev->recovery_offset == MaxSector in raid1_spare_active()
2660 mddev->recovery_cp == MaxSector && in raid1_sync_request()
2728 sector_t first_bad = MaxSector; in raid1_sync_request()
2994 disk->seq_start = MaxSector; in setup_conf()
3074 if (mddev->reshape_position != MaxSector) { in raid1_run()
3123 mddev->recovery_cp = MaxSector; in raid1_run()
[all …]
Draid5-cache.c967 if (sh->log_start == MaxSector) { in r5l_log_stripe()
1064 sh->log_start == MaxSector) { in r5l_write_stripe()
1585 r5l_wake_reclaim(log, MaxSector); in r5l_quiesce()
1863 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()
2358 sector_t next_checkpoint = MaxSector; in r5c_recovery_rewrite_data_only_stripes()
2846 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()
2924 sh->log_start == MaxSector) in r5c_cache_data()
Dmd-cluster.c327 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()
Dmd.h23 #define MaxSector (~(sector_t)0) macro
Draid5-ppl.c1179 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()
1449 mddev->recovery_cp = MaxSector; in ppl_init_log()