Searched refs:recovery_offset (Results 1 – 8 of 8) sorted by relevance
871 (!rs->dev[i].rdev.recovery_offset)) { in parse_dev_params()1180 rs->dev[i].rdev.recovery_offset = MaxSector; in parse_raid_params()1324 rd->rdev.recovery_offset = 0; in parse_raid_params()2116 sb->disk_recovery_offset = cpu_to_le64(rdev->recovery_offset); in super_sync()2184 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()2473 rdev->recovery_offset = le64_to_cpu(sb->disk_recovery_offset); in super_validate()2474 if (rdev->recovery_offset == MaxSector) in super_validate()2488 rdev->recovery_offset = 0; in super_validate()2741 mddev->recovery_cp = rdev->recovery_offset = 0; in rs_setup_takeover()2890 rdev->recovery_offset = rs_is_raid1(rs) ? 0 : MaxSector; in rs_setup_reshape()[all …]
1378 rdev->recovery_offset = 0; in super_90_validate()1922 rdev->recovery_offset = le64_to_cpu(sb->recovery_offset); in super_1_validate()1961 sb->recovery_offset = cpu_to_le64(0); in super_1_sync()2001 sb->recovery_offset = in super_1_sync()2002 cpu_to_le64(rdev->recovery_offset); in super_1_sync()2685 mddev->curr_resync_completed > rdev->recovery_offset) in md_update_sb()2686 rdev->recovery_offset = mddev->curr_resync_completed; in md_update_sb()3421 unsigned long long recovery_start = rdev->recovery_offset; in recovery_start_show()3443 rdev->recovery_offset = recovery_start; in recovery_start_store()8047 rdev->recovery_offset != MaxSector && in status_resync()[all …]
3824 && (rdev->recovery_offset <= sh->sector in want_replace()4751 rdev->recovery_offset >= sh->sector + RAID5_STRIPE_SECTORS(conf) && in analyse_stripe()4793 else if (sh->sector + RAID5_STRIPE_SECTORS(conf) <= rdev->recovery_offset) in analyse_stripe()5527 rdev->recovery_offset < end_sector) { in raid5_read_one_chunk()5533 rdev->recovery_offset >= end_sector)) in raid5_read_one_chunk()6343 rdev->recovery_offset < sector_nr) in reshape_request()6344 rdev->recovery_offset = sector_nr; in reshape_request()6452 rdev->recovery_offset < sector_nr) in reshape_request()6453 rdev->recovery_offset = sector_nr; in reshape_request()7930 rdev->recovery_offset = reshape_offset; in raid5_run()[all …]
98 sector_t recovery_offset;/* If this device has been partially member
652 rdev->recovery_offset < this_sector + sectors) in read_balance()1749 && repl->recovery_offset == MaxSector in raid1_spare_active()1767 && rdev->recovery_offset == MaxSector in raid1_spare_active()2302 rdev->recovery_offset >= sect + s)) && in fix_read_error()
782 r10_bio->devs[slot].addr + sectors > rdev->recovery_offset) in read_balance()788 r10_bio->devs[slot].addr + sectors > rdev->recovery_offset) in read_balance()2106 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()2124 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()3358 rdev->recovery_offset = MaxSector; in raid10_sync_request()4661 rdev->recovery_offset = 0; in raid10_start_reshape()
889 sector >= rdev->recovery_offset)) { in ppl_recover_entry()
275 __le64 recovery_offset;/* sectors before this offset (from data_offset) have been recovered */ member