Home
last modified time | relevance | path

Searched refs:resync_offset (Results 1 – 12 of 12) 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()
2337 mddev->resync_offset = le64_to_cpu(sb->array_resync_offset); in super_init_validation()
2344 * resync_offset must be 0, unless forced. in super_init_validation()
2348 * resync_offset mus in super_init_validation()
[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()
866 if ((hi > 0) && (lo < mddev->resync_offset)) { in gather_all_resync_info()
868 mddev->resync_offset = lo; in gather_all_resync_info()
1030 if ((cinfo->slot_number > 0 && mddev->resync_offset != MaxSector) || in leave()
1608 if ((hi > 0) && (lo < mddev->resync_offset)) in gather_bitmaps()
1609 mddev->resync_offset = lo; in gather_bitmaps()
H A Draid0.c677 mddev->resync_offset = MaxSector; in raid0_takeover_raid45()
720 mddev->resync_offset = MaxSector; in raid0_takeover_raid10()
763 mddev->resync_offset = MaxSector; in raid0_takeover_raid1()
H A Dmd.c1418 mddev->resync_offset = MaxSector; in super_90_validate()
1422 mddev->resync_offset = sb->resync_offset; in super_90_validate()
1424 mddev->resync_offset = 0; in super_90_validate()
1550 sb->resync_offset = mddev->resync_offset; in super_90_sync()
1553 if (mddev->resync_offset == MaxSector) in super_90_sync()
1556 sb->resync_offset = 0; in super_90_sync()
1904 mddev->resync_offset = le64_to_cpu(sb->resync_offset); in super_1_validate()
[all...]
H A Draid1-10.c286 if ((mddev->resync_offset < this_sector + len)) in raid1_should_read_first()
H A Draid5-ppl.c1166 if (pplhdr && !mddev->pers && mddev->resync_offset != MaxSector) in ppl_load_distributed()
1425 } else if (!mddev->pers && mddev->resync_offset == 0 && in ppl_init_log()
1432 mddev->resync_offset = MaxSector; in ppl_init_log()
H A Draid10.c2120 if (mddev->resync_offset < MaxSector) in raid10_add_disk()
3188 mddev->resync_offset == MaxSector && in raid10_sync_request()
4148 if (mddev->resync_offset != MaxSector) in raid10_run()
4248 mddev->resync_offset > oldsize) { in raid10_resize()
4249 mddev->resync_offset = oldsize; in raid10_resize()
4278 mddev->resync_offset = MaxSector; in raid10_takeover_raid0()
5090 if (mddev->resync_offset > mddev->resync_max_sectors) { in raid10_finish_reshape()
5091 mddev->resync_offset = mddev->resync_max_sectors; in raid10_finish_reshape()
H A Draid5.c3743 || rdev->mddev->resync_offset <= sh->sector)) in want_replace()
3835 sh->sector < sh->raid_conf->mddev->resync_offset) in need_this_block()
4100 sector_t resync_offset = conf->mddev->resync_offset; in handle_stripe_dirtying() local
4110 (resync_offset < MaxSector && sh->sector >= resync_offset && in handle_stripe_dirtying()
4116 pr_debug("force RCW rmw_level=%u, resync_offset=%llu sh->sector=%llu\n", in handle_stripe_dirtying()
4117 conf->rmw_level, (unsigned long long)resync_offset, in handle_stripe_dirtying()
4773 * else if we are after resync_offset, we must be syncing in analyse_stripe()
4780 sh->sector >= conf->mddev->resync_offset || in analyse_stripe()
[all...]
H A Draid1.c2823 mddev->resync_offset == MaxSector && in raid1_sync_request()
3277 mddev->resync_offset = MaxSector; in raid1_run()
3279 if (mddev->resync_offset != MaxSector) in raid1_run()
3339 mddev->resync_offset > mddev->dev_sectors) { in raid1_resize()
3340 mddev->resync_offset = mddev->dev_sectors; in raid1_resize()
H A Dmd.h526 sector_t resync_offset; member
H A Dmd-bitmap.c1990 if (sec < bitmap->mddev->resync_offset) in bitmap_dirty_bits()
1992 * so move the resync_offset address back so in bitmap_dirty_bits()
1995 bitmap->mddev->resync_offset = sec; in bitmap_dirty_bits()
2261 start = mddev->resync_offset; in bitmap_load()
/linux/include/uapi/linux/raid/
H A Dmd_p.h176 __u32 resync_offset; /* 11 resync checkpoint sector count */ member
291 __le64 resync_offset; /* data before this offset (from data_offset) known to be in sync */ member