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

/linux-4.1.27/drivers/md/
H A Ddm-raid.c173 rs->md.recovery_cp = 0; context_alloc()
290 } else if (rebuild && !rs->md.recovery_cp) { dev_parms()
556 rs->md.recovery_cp = MaxSector; parse_raid_params()
561 rs->md.recovery_cp = 0; parse_raid_params()
834 sb->array_resync_offset = cpu_to_le64(mddev->recovery_cp); super_sync()
950 mddev->recovery_cp = le64_to_cpu(sb->array_resync_offset); super_init_validation()
957 * recovery_cp must be 0, unless forced. super_init_validation()
961 * recovery_cp must be MaxSector. super_init_validation()
986 } else if (mddev->recovery_cp != MaxSector) {
1373 sync = rs->md.recovery_cp; raid_status()
1465 (rs->md.recovery_cp == MaxSector)) raid_status()
H A Draid0.c590 mddev->recovery_cp = MaxSector;
631 mddev->recovery_cp = MaxSector; raid0_takeover_raid10()
673 mddev->recovery_cp = MaxSector; raid0_takeover_raid1()
H A Dmd-cluster.c265 if (lo < mddev->recovery_cp) recover_bitmaps()
266 mddev->recovery_cp = lo; recover_bitmaps()
924 if ((hi > 0) && (lo < mddev->recovery_cp)) gather_bitmaps()
925 mddev->recovery_cp = lo; gather_bitmaps()
H A Dmd.c1110 mddev->recovery_cp = MaxSector; super_90_validate()
1114 mddev->recovery_cp = sb->recovery_cp; super_90_validate()
1116 mddev->recovery_cp = 0; super_90_validate()
1243 sb->recovery_cp = mddev->recovery_cp; super_90_sync()
1246 if (mddev->recovery_cp == MaxSector) super_90_sync()
1249 sb->recovery_cp = 0; super_90_sync()
1582 mddev->recovery_cp = le64_to_cpu(sb->resync_offset); super_1_validate()
1701 sb->resync_offset = cpu_to_le64(mddev->recovery_cp); super_1_sync()
2294 && (mddev->in_sync && mddev->recovery_cp == MaxSector)
3685 if (mddev->recovery_cp == MaxSector) resync_start_show()
3687 return sprintf(page, "%llu\n", (unsigned long long)mddev->recovery_cp); resync_start_show()
3708 mddev->recovery_cp = n; resync_start_store()
5271 mddev->recovery_cp = 0; md_clean()
6240 mddev->recovery_cp = MaxSector; set_array_info()
6242 mddev->recovery_cp = 0; set_array_info()
7315 else if (mddev->recovery_cp < MaxSector)
7719 j = mddev->recovery_cp;
7812 j > mddev->recovery_cp)
7813 mddev->recovery_cp = j;
7928 if (mddev->curr_resync >= mddev->recovery_cp) {
7934 mddev->recovery_cp =
7937 mddev->recovery_cp =
7941 mddev->recovery_cp = MaxSector;
8109 && !mddev->in_sync && mddev->recovery_cp == MaxSector) md_check_recovery()
8140 mddev->recovery_cp == MaxSector) { md_check_recovery()
8205 } else if (mddev->recovery_cp < MaxSector) { md_check_recovery()
H A Draid1.c542 if ((conf->mddev->recovery_cp < this_sector + sectors) || read_balance()
2523 mddev->recovery_cp == MaxSector && sync_request()
2936 mddev->recovery_cp = MaxSector;
2938 if (mddev->recovery_cp != MaxSector)
3007 mddev->recovery_cp > mddev->dev_sectors) { raid1_resize()
3008 mddev->recovery_cp = mddev->dev_sectors; raid1_resize()
H A Draid10.c810 if (conf->mddev->recovery_cp < MaxSector read_balance()
1782 if (mddev->recovery_cp < MaxSector) raid10_add_disk()
2914 mddev->recovery_cp == MaxSector && sync_request()
3727 if (mddev->recovery_cp != MaxSector)
3860 mddev->recovery_cp > oldsize) { raid10_resize()
3861 mddev->recovery_cp = oldsize; raid10_resize()
3890 mddev->recovery_cp = MaxSector; raid10_takeover_raid0()
4664 if (mddev->recovery_cp > mddev->resync_max_sectors) { raid10_finish_reshape()
4665 mddev->recovery_cp = mddev->resync_max_sectors; raid10_finish_reshape()
H A Draid5.c3244 || rdev->mddev->recovery_cp <= sh->sector)) want_replace()
3333 sh->sector < sh->raid_conf->mddev->recovery_cp) need_this_block()
3555 sector_t recovery_cp = conf->mddev->recovery_cp; handle_stripe_dirtying() local
3565 (recovery_cp < MaxSector && sh->sector >= recovery_cp && handle_stripe_dirtying()
3571 pr_debug("force RCW rmw_level=%u, recovery_cp=%llu sh->sector=%llu\n", handle_stripe_dirtying()
3572 conf->rmw_level, (unsigned long long)recovery_cp, handle_stripe_dirtying()
4169 * else if we are after recovery_cp, we must be syncing analyse_stripe()
4176 sh->sector >= conf->mddev->recovery_cp || analyse_stripe()
6653 if (mddev->recovery_cp != MaxSector) run()
6843 mddev->recovery_cp != MaxSector) {
7216 mddev->recovery_cp > mddev->dev_sectors) { raid5_resize()
7217 mddev->recovery_cp = mddev->dev_sectors; raid5_resize()
7551 mddev->recovery_cp = MaxSector; raid45_takeover_raid0()
H A Dbitmap.c1639 if (sec < bitmap->mddev->recovery_cp) bitmap_dirty_bits()
1641 * so move the recovery_cp address back so bitmap_dirty_bits()
1644 bitmap->mddev->recovery_cp = sec; bitmap_dirty_bits()
1839 start = mddev->recovery_cp; bitmap_load()
H A Dmd.h383 sector_t recovery_cp; member in struct:mddev
/linux-4.1.27/include/uapi/linux/raid/
H A Dmd_p.h169 __u32 recovery_cp; /* 11 recovery checkpoint sector count */ member in struct:mdp_superblock_s

Completed in 281 milliseconds