Home
last modified time | relevance | path

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

/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.c695 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()
738 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()
781 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
Dmd.c1358 mddev->recovery_cp = MaxSector; in super_90_validate()
1362 mddev->recovery_cp = sb->recovery_cp; in super_90_validate()
1364 mddev->recovery_cp = 0; in super_90_validate()
1493 sb->recovery_cp = mddev->recovery_cp; in super_90_sync()
1496 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1499 sb->recovery_cp = 0; in super_90_sync()
1854 mddev->recovery_cp = le64_to_cpu(sb->resync_offset); in super_1_validate()
2043 sb->resync_offset = cpu_to_le64(mddev->recovery_cp); in super_1_sync()
2822 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
4339 if (mddev->recovery_cp == MaxSector) in resync_start_show()
[all …]
Draid5-ppl.c1179 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()
1442 } else if (!mddev->pers && mddev->recovery_cp == 0 && in ppl_init_log()
1449 mddev->recovery_cp = MaxSector; in ppl_init_log()
Draid1.c628 if ((conf->mddev->recovery_cp < this_sector + sectors) || in read_balance()
2692 mddev->recovery_cp == MaxSector && in raid1_sync_request()
3156 mddev->recovery_cp = MaxSector; in raid1_run()
3158 if (mddev->recovery_cp != MaxSector) in raid1_run()
3232 mddev->recovery_cp > mddev->dev_sectors) { in raid1_resize()
3233 mddev->recovery_cp = mddev->dev_sectors; in raid1_resize()
Draid10.c736 if ((conf->mddev->recovery_cp < MaxSector in read_balance()
2149 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
3318 mddev->recovery_cp == MaxSector && in raid10_sync_request()
4279 if (mddev->recovery_cp != MaxSector) in raid10_run()
4382 mddev->recovery_cp > oldsize) { in raid10_resize()
4383 mddev->recovery_cp = oldsize; in raid10_resize()
4412 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
5253 if (mddev->recovery_cp > mddev->resync_max_sectors) { in raid10_finish_reshape()
5254 mddev->recovery_cp = mddev->resync_max_sectors; in raid10_finish_reshape()
Draid5.c3721 || rdev->mddev->recovery_cp <= sh->sector)) in want_replace()
3814 sh->sector < sh->raid_conf->mddev->recovery_cp) in need_this_block()
4082 sector_t recovery_cp = conf->mddev->recovery_cp; in handle_stripe_dirtying() local
4092 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
4099 conf->rmw_level, (unsigned long long)recovery_cp, in handle_stripe_dirtying()
4768 sh->sector >= conf->mddev->recovery_cp || in analyse_stripe()
7471 if (mddev->recovery_cp != MaxSector) in raid5_run()
7620 } else if (mddev->recovery_cp == MaxSector) in raid5_run()
7696 mddev->recovery_cp != MaxSector) { in raid5_run()
8102 mddev->recovery_cp > mddev->dev_sectors) { in raid5_resize()
[all …]
Dmd.h424 sector_t recovery_cp; member
Dmd-bitmap.c1698 if (sec < bitmap->mddev->recovery_cp) in md_bitmap_dirty_bits()
1703 bitmap->mddev->recovery_cp = sec; in md_bitmap_dirty_bits()
1933 start = mddev->recovery_cp; in md_bitmap_load()