Home
last modified time | relevance | path

Searched refs:recovery_cp (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/md/
Ddm-raid.c130 rs->md.recovery_cp = 0; in context_alloc()
217 } else if (rebuild && !rs->md.recovery_cp) { in dev_parms()
279 rs->md.recovery_cp = MaxSector; in parse_raid_params()
285 rs->md.recovery_cp = 0; in parse_raid_params()
537 sync = rs->md.recovery_cp; in raid_status()
562 (rs->md.recovery_cp == MaxSector)) in raid_status()
Draid0.c590 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()
631 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()
657 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
Dmd.c1139 mddev->recovery_cp = MaxSector; in super_90_validate()
1143 mddev->recovery_cp = sb->recovery_cp; in super_90_validate()
1145 mddev->recovery_cp = 0; in super_90_validate()
1267 sb->recovery_cp = mddev->recovery_cp; in super_90_sync()
1270 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1273 sb->recovery_cp = 0; in super_90_sync()
1537 mddev->recovery_cp = le64_to_cpu(sb->resync_offset); in super_1_validate()
1631 sb->resync_offset = cpu_to_le64(mddev->recovery_cp); in super_1_sync()
2234 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
3316 if (mddev->recovery_cp == MaxSector) in resync_start_show()
[all …]
Draid1.c428 if (conf->mddev->recovery_cp < MaxSector && in read_balance()
1659 mddev->recovery_cp == MaxSector && in sync_request()
1998 mddev->recovery_cp = MaxSector; in run()
2000 if (mddev->recovery_cp != MaxSector) in run()
2066 mddev->recovery_cp == MaxSector) { in raid1_resize()
2067 mddev->recovery_cp = mddev->dev_sectors; in raid1_resize()
Dmd.h268 sector_t recovery_cp; member
Draid10.c504 if (conf->mddev->recovery_cp < MaxSector in read_balance()
1108 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
2312 if (mddev->recovery_cp != MaxSector) in run()
2414 mddev->recovery_cp = MaxSector; in raid10_takeover_raid0()
Dbitmap.c1596 if (sec < bitmap->mddev->recovery_cp) in bitmap_dirty_bits()
1601 bitmap->mddev->recovery_cp = sec; in bitmap_dirty_bits()
1816 start = mddev->recovery_cp; in bitmap_load()
Draid5.c4946 if (mddev->recovery_cp != MaxSector) in run()
5088 mddev->recovery_cp != MaxSector) { in run()
5394 if (sectors > mddev->dev_sectors && mddev->recovery_cp == MaxSector) { in raid5_resize()
5395 mddev->recovery_cp = mddev->dev_sectors; in raid5_resize()
5699 mddev->recovery_cp = MaxSector; in raid45_takeover_raid0()
/linux-2.6.39/include/linux/raid/
Dmd_p.h159 __u32 recovery_cp; /* 11 recovery checkpoint sector count */ member