Home
last modified time | relevance | path

Searched refs:recovery_cp (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/md/
Ddm-raid.c439 return rs->md.recovery_cp < rs->md.dev_sectors; in rs_is_recovering()
765 rs->md.recovery_cp = MaxSector; in raid_set_alloc()
908 } else if (rebuild && !rs->md.recovery_cp) { in parse_dev_params()
1678 rs->md.recovery_cp = MaxSector; in rs_setup_recovery()
1685 rs->md.recovery_cp = dev_sectors; in rs_setup_recovery()
1691 rs->md.recovery_cp = test_bit(__CTR_FLAG_NOSYNC, &rs->ctr_flags) in rs_setup_recovery()
2117 sb->array_resync_offset = cpu_to_le64(mddev->recovery_cp); in super_sync()
2309 mddev->recovery_cp = le64_to_cpu(sb->array_resync_offset); in super_init_validation()
2369 (unsigned long long) mddev->recovery_cp); in super_init_validation()
2677 if (rs->md.recovery_cp < rs->md.dev_sectors) in rs_adjust_data_offsets()
[all …]
Dmd-cluster.c331 if (lo < mddev->recovery_cp) in recover_bitmaps()
332 mddev->recovery_cp = lo; in recover_bitmaps()
335 if (mddev->recovery_cp != MaxSector) { in recover_bitmaps()
844 if ((hi > 0) && (lo < mddev->recovery_cp)) { in gather_all_resync_info()
846 mddev->recovery_cp = lo; in gather_all_resync_info()
1007 if ((cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) || in leave()
1554 if ((hi > 0) && (lo < mddev->recovery_cp)) in gather_bitmaps()
1555 mddev->recovery_cp = lo; in gather_bitmaps()
Draid0.c625 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()
668 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()
711 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
Dmd.c1312 mddev->recovery_cp = MaxSector; in super_90_validate()
1316 mddev->recovery_cp = sb->recovery_cp; in super_90_validate()
1318 mddev->recovery_cp = 0; in super_90_validate()
1447 sb->recovery_cp = mddev->recovery_cp; in super_90_sync()
1450 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1453 sb->recovery_cp = 0; in super_90_sync()
1805 mddev->recovery_cp = le64_to_cpu(sb->resync_offset); in super_1_validate()
1962 sb->resync_offset = cpu_to_le64(mddev->recovery_cp); in super_1_sync()
2735 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
4241 if (mddev->recovery_cp == MaxSector) in resync_start_show()
[all …]
Draid5-ppl.c1172 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()
1435 } else if (!mddev->pers && mddev->recovery_cp == 0 && in ppl_init_log()
1442 mddev->recovery_cp = MaxSector; in ppl_init_log()
Draid1.c631 if ((conf->mddev->recovery_cp < this_sector + sectors) || in read_balance()
2710 mddev->recovery_cp == MaxSector && in raid1_sync_request()
3167 mddev->recovery_cp = MaxSector; in raid1_run()
3169 if (mddev->recovery_cp != MaxSector) in raid1_run()
3234 mddev->recovery_cp > mddev->dev_sectors) { in raid1_resize()
3235 mddev->recovery_cp = mddev->dev_sectors; in raid1_resize()
Draid10.c763 if ((conf->mddev->recovery_cp < MaxSector in read_balance()
2147 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
3301 mddev->recovery_cp == MaxSector && in raid10_sync_request()
4241 if (mddev->recovery_cp != MaxSector) in raid10_run()
4355 mddev->recovery_cp > oldsize) { in raid10_resize()
4356 mddev->recovery_cp = oldsize; in raid10_resize()
4385 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
5224 if (mddev->recovery_cp > mddev->resync_max_sectors) { in raid10_finish_reshape()
5225 mddev->recovery_cp = mddev->resync_max_sectors; in raid10_finish_reshape()
Dmd.h441 sector_t recovery_cp; member
Draid5.c3825 || rdev->mddev->recovery_cp <= sh->sector)) in want_replace()
3918 sh->sector < sh->raid_conf->mddev->recovery_cp) in need_this_block()
4186 sector_t recovery_cp = conf->mddev->recovery_cp; in handle_stripe_dirtying() local
4196 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
4203 conf->rmw_level, (unsigned long long)recovery_cp, in handle_stripe_dirtying()
4873 sh->sector >= conf->mddev->recovery_cp || in analyse_stripe()
7738 if (mddev->recovery_cp != MaxSector) in raid5_run()
7887 } else if (mddev->recovery_cp == MaxSector) in raid5_run()
7964 mddev->recovery_cp != MaxSector) { in raid5_run()
8381 mddev->recovery_cp > mddev->dev_sectors) { in raid5_resize()
[all …]
Dmd-bitmap.c1696 if (sec < bitmap->mddev->recovery_cp) in md_bitmap_dirty_bits()
1701 bitmap->mddev->recovery_cp = sec; in md_bitmap_dirty_bits()
1931 start = mddev->recovery_cp; in md_bitmap_load()
/Linux-v6.1/include/uapi/linux/raid/
Dmd_p.h180 __u32 recovery_cp; /* 11 recovery checkpoint sector count */ member