Searched refs:resync_offset (Results 1 – 12 of 12) sorted by relevance
441 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 …]
340 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()
672 mddev->resync_offset = MaxSector; in raid0_takeover_raid45()715 mddev->resync_offset = MaxSector; in raid0_takeover_raid10()758 mddev->resync_offset = MaxSector; in raid0_takeover_raid1()
281 if ((mddev->resync_offset < this_sector + len)) in raid1_should_read_first()
1523 mddev->resync_offset = MaxSector; in super_90_validate()1527 mddev->resync_offset = sb->recovery_cp; in super_90_validate()1529 mddev->resync_offset = 0; in super_90_validate()1655 sb->recovery_cp = mddev->resync_offset; in super_90_sync()1658 if (mddev->resync_offset == MaxSector) in super_90_sync()2013 mddev->resync_offset = le64_to_cpu(sb->resync_offset); in super_1_validate()2202 sb->resync_offset = cpu_to_le64(mddev->resync_offset); in super_1_sync()2204 sb->resync_offset = cpu_to_le64(MaxSector); in super_1_sync()2206 sb->resync_offset = cpu_to_le64(0); in super_1_sync()2882 && (mddev->in_sync && mddev->resync_offset == MaxSector) in md_update_sb()[all …]
1166 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()
2114 if (mddev->resync_offset < MaxSector) in raid10_add_disk()3166 mddev->resync_offset == MaxSector && in raid10_sync_request()4073 if (mddev->resync_offset != MaxSector) in raid10_run()4175 mddev->resync_offset > oldsize) { in raid10_resize()4176 mddev->resync_offset = oldsize; in raid10_resize()4205 mddev->resync_offset = MaxSector; in raid10_takeover_raid0()5019 if (mddev->resync_offset > mddev->resync_max_sectors) { in raid10_finish_reshape()5020 mddev->resync_offset = mddev->resync_max_sectors; in raid10_finish_reshape()
3743 || rdev->mddev->resync_offset <= sh->sector)) in want_replace()3840 sh->sector < sh->raid_conf->mddev->resync_offset) in need_this_block()4106 sector_t resync_offset = mddev->resync_offset; in handle_stripe_dirtying() local4116 (resync_offset < MaxSector && sh->sector >= resync_offset && in handle_stripe_dirtying()4123 conf->rmw_level, (unsigned long long)resync_offset, in handle_stripe_dirtying()4803 sh->sector >= conf->mddev->resync_offset || in analyse_stripe()7837 if (mddev->resync_offset != MaxSector) in raid5_run()7978 } else if (mddev->resync_offset == MaxSector) in raid5_run()8045 mddev->resync_offset != MaxSector) { in raid5_run()8389 mddev->resync_offset > mddev->dev_sectors) { in raid5_resize()[all …]
2809 mddev->resync_offset == MaxSector && in raid1_sync_request()3258 mddev->resync_offset = MaxSector; in raid1_run()3260 if (mddev->resync_offset != MaxSector) in raid1_run()3322 mddev->resync_offset > mddev->dev_sectors) { in raid1_resize()3323 mddev->resync_offset = mddev->dev_sectors; in raid1_resize()
533 sector_t resync_offset; member
1972 if (sec < bitmap->mddev->resync_offset) in bitmap_dirty_bits()1977 bitmap->mddev->resync_offset = sec; in bitmap_dirty_bits()2237 start = mddev->resync_offset; in bitmap_load()
291 __le64 resync_offset; /* data before this offset (from data_offset) known to be in sync */ member