Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-raid.c441 return rs->md.resync_offset < rs->md.dev_sectors; in rs_is_recovering()
771 rs->md.resync_offset = MaxSector; in raid_set_alloc()
915 } else if (rebuild && !rs->md.resync_offset) { in parse_dev_params()
1698 rs->md.resync_offset = MaxSector; in rs_setup_recovery()
1705 rs->md.resync_offset = dev_sectors; in rs_setup_recovery()
1711 rs->md.resync_offset = test_bit(__CTR_FLAG_NOSYNC, &rs->ctr_flags) in rs_setup_recovery()
2146 sb->array_resync_offset = cpu_to_le64(mddev->resync_offset); in super_sync()
2339 mddev->resync_offset = le64_to_cpu(sb->array_resync_offset); in super_init_validation()
2396 (unsigned long long) mddev->resync_offset); in super_init_validation()
2708 if (rs->md.resync_offset < rs->md.dev_sectors) in rs_adjust_data_offsets()
[all …]
H A Dmd-cluster.c340 if (lo < mddev->resync_offset) in recover_bitmaps()
341 mddev->resync_offset = lo; in recover_bitmaps()
344 if (mddev->resync_offset != MaxSector) { in recover_bitmaps()
871 if ((hi > 0) && (lo < mddev->resync_offset)) { in gather_all_resync_info()
873 mddev->resync_offset = lo; in gather_all_resync_info()
1035 if ((cinfo->slot_number > 0 && mddev->resync_offset != MaxSector) || in leave()
1613 if ((hi > 0) && (lo < mddev->resync_offset)) in gather_bitmaps()
1614 mddev->resync_offset = lo; in gather_bitmaps()
H A Draid1-10.c281 if ((mddev->resync_offset < this_sector + len)) in raid1_should_read_first()
H A Dmd.c1528 mddev->resync_offset = MaxSector; in super_90_validate()
1532 mddev->resync_offset = sb->recovery_cp; in super_90_validate()
1534 mddev->resync_offset = 0; in super_90_validate()
1660 sb->recovery_cp = mddev->resync_offset; in super_90_sync()
1663 if (mddev->resync_offset == MaxSector) in super_90_sync()
2018 mddev->resync_offset = le64_to_cpu(sb->resync_offset); in super_1_validate()
2207 sb->resync_offset = cpu_to_le64(mddev->resync_offset); in super_1_sync()
2209 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()
2211 sb->resync_offset = cpu_to_le64(0); in super_1_sync()
2889 && (mddev->in_sync && mddev->resync_offset == MaxSector) in md_update_sb()
[all …]
H A Draid5-ppl.c1166 if (pplhdr && !mddev->pers && mddev->resync_offset != MaxSector) in ppl_load_distributed()
1424 } else if (!mddev->pers && mddev->resync_offset == 0 && in ppl_init_log()
1431 mddev->resync_offset = MaxSector; in ppl_init_log()
H A Draid10.c2114 if (mddev->resync_offset < MaxSector) in raid10_add_disk()
3166 mddev->resync_offset == MaxSector && in raid10_sync_request()
4075 if (mddev->resync_offset != MaxSector) in raid10_run()
4177 mddev->resync_offset > oldsize) { in raid10_resize()
4178 mddev->resync_offset = oldsize; in raid10_resize()
4207 mddev->resync_offset = MaxSector; in raid10_takeover_raid0()
5021 if (mddev->resync_offset > mddev->resync_max_sectors) { in raid10_finish_reshape()
5022 mddev->resync_offset = mddev->resync_max_sectors; in raid10_finish_reshape()
H A Draid5.c3743 || rdev->mddev->resync_offset <= sh->sector)) in want_replace()
3840 sh->sector < sh->raid_conf->mddev->resync_offset) in need_this_block()
4108 sector_t resync_offset = mddev->resync_offset; in handle_stripe_dirtying() local
4118 (resync_offset < MaxSector && sh->sector >= resync_offset && in handle_stripe_dirtying()
4125 conf->rmw_level, (unsigned long long)resync_offset, in handle_stripe_dirtying()
4791 sh->sector >= conf->mddev->resync_offset || in analyse_stripe()
7849 if (mddev->resync_offset != MaxSector) in raid5_run()
7990 } else if (mddev->resync_offset == MaxSector) in raid5_run()
8057 mddev->resync_offset != MaxSector) { in raid5_run()
8401 mddev->resync_offset > mddev->dev_sectors) { in raid5_resize()
[all …]
H A Draid1.c2825 mddev->resync_offset == MaxSector && in raid1_sync_request()
3274 mddev->resync_offset = MaxSector; in raid1_run()
3276 if (mddev->resync_offset != MaxSector) in raid1_run()
3338 mddev->resync_offset > mddev->dev_sectors) { in raid1_resize()
3339 mddev->resync_offset = mddev->dev_sectors; in raid1_resize()
H A Dmd.h536 sector_t resync_offset; member
H A Dmd-bitmap.c1973 if (sec < bitmap->mddev->resync_offset) in bitmap_dirty_bits()
1978 bitmap->mddev->resync_offset = sec; in bitmap_dirty_bits()
2238 start = mddev->resync_offset; in bitmap_load()