Home
last modified time | relevance | path

Searched refs:recovery_offset (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/md/
Ddm-raid.c868 (!rs->dev[i].rdev.recovery_offset)) { in parse_dev_params()
1175 rs->dev[i].rdev.recovery_offset = MaxSector; in parse_raid_params()
1319 rd->rdev.recovery_offset = 0; in parse_raid_params()
2131 sb->disk_recovery_offset = cpu_to_le64(rdev->recovery_offset); in super_sync()
2199 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2490 rdev->recovery_offset = le64_to_cpu(sb->disk_recovery_offset); in super_validate()
2491 if (rdev->recovery_offset == MaxSector) in super_validate()
2505 rdev->recovery_offset = 0; in super_validate()
2758 mddev->recovery_cp = rdev->recovery_offset = 0; in rs_setup_takeover()
2907 rdev->recovery_offset = rs_is_raid1(rs) ? 0 : MaxSector; in rs_setup_reshape()
[all …]
Dmd.c1242 rdev->recovery_offset = 0; in super_90_validate()
1770 rdev->recovery_offset = le64_to_cpu(sb->recovery_offset); in super_1_validate()
1802 sb->recovery_offset = cpu_to_le64(0); in super_1_sync()
1842 sb->recovery_offset = in super_1_sync()
1843 cpu_to_le64(rdev->recovery_offset); in super_1_sync()
2482 mddev->curr_resync_completed > rdev->recovery_offset) in md_update_sb()
2483 rdev->recovery_offset = mddev->curr_resync_completed; in md_update_sb()
3211 unsigned long long recovery_start = rdev->recovery_offset; in recovery_start_show()
3233 rdev->recovery_offset = recovery_start; in recovery_start_store()
7686 rdev->recovery_offset != MaxSector && in status_resync()
[all …]
Draid5.c3513 && (rdev->recovery_offset <= sh->sector in want_replace()
4423 rdev->recovery_offset >= sh->sector + STRIPE_SECTORS && in analyse_stripe()
4465 else if (sh->sector + STRIPE_SECTORS <= rdev->recovery_offset) in analyse_stripe()
5225 rdev->recovery_offset < end_sector) { in raid5_read_one_chunk()
5230 rdev->recovery_offset >= end_sector))) in raid5_read_one_chunk()
5881 rdev->recovery_offset < sector_nr) in reshape_request()
5882 rdev->recovery_offset = sector_nr; in reshape_request()
5988 rdev->recovery_offset < sector_nr) in reshape_request()
5989 rdev->recovery_offset = sector_nr; in reshape_request()
7325 rdev->recovery_offset = reshape_offset; in raid5_run()
[all …]
Dmd.h95 sector_t recovery_offset;/* If this device has been partially member
Draid1.c609 rdev->recovery_offset < this_sector + sectors) in read_balance()
1681 && repl->recovery_offset == MaxSector in raid1_spare_active()
1699 && rdev->recovery_offset == MaxSector in raid1_spare_active()
2232 rdev->recovery_offset >= sect + s)) && in fix_read_error()
Draid10.c784 r10_bio->devs[slot].addr + sectors > rdev->recovery_offset) in read_balance()
790 r10_bio->devs[slot].addr + sectors > rdev->recovery_offset) in read_balance()
1755 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()
1773 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()
3015 rdev->recovery_offset = MaxSector; in raid10_sync_request()
4304 rdev->recovery_offset = 0; in raid10_start_reshape()
Draid5-ppl.c902 sector >= rdev->recovery_offset)) { in ppl_recover_entry()
/Linux-v4.19/include/uapi/linux/raid/
Dmd_p.h275 __le64 recovery_offset;/* sectors before this offset (from data_offset) have been recovered */ member