Home
last modified time | relevance | path

Searched refs:MaxSector (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/md/
Draid10.c619 if (conf->reshape_progress != MaxSector && in raid10_find_phys()
697 if (conf->reshape_progress != MaxSector && in raid10_mergeable_bvec()
720 if (conf->reshape_progress != MaxSector) { in raid10_mergeable_bvec()
801 best_dist = MaxSector; in read_balance()
810 if (conf->mddev->recovery_cp < MaxSector in read_balance()
838 if (best_dist < MaxSector) in read_balance()
1740 && tmp->replacement->recovery_offset == MaxSector in raid10_spare_active()
1758 && tmp->rdev->recovery_offset == MaxSector in raid10_spare_active()
1782 if (mddev->recovery_cp < MaxSector) in raid10_add_disk()
2914 mddev->recovery_cp == MaxSector && in sync_request()
[all …]
Draid1.c535 best_dist = MaxSector; in read_balance()
588 if (best_dist < MaxSector) in read_balance()
644 mirror->seq_start != MaxSector && in read_balance()
919 if (conf->start_next_window == MaxSector) in wait_barrier()
963 conf->start_next_window = MaxSector; in allow_barrier()
1552 conf->start_next_window = MaxSector; in close_sync()
1579 && repl->recovery_offset == MaxSector in raid1_spare_active()
1597 && rdev->recovery_offset == MaxSector in raid1_spare_active()
2523 mddev->recovery_cp == MaxSector && in sync_request()
2575 sector_t first_bad = MaxSector; in sync_request()
[all …]
Dmd.c522 mddev->reshape_position = MaxSector; in mddev_init()
526 mddev->resync_max = MaxSector; in mddev_init()
787 else if (rdev->mddev->reshape_position != MaxSector && in sync_page_io()
1102 mddev->reshape_position = MaxSector; in super_90_validate()
1110 mddev->recovery_cp = MaxSector; in super_90_validate()
1230 if (mddev->reshape_position == MaxSector) in super_90_sync()
1246 if (mddev->recovery_cp == MaxSector) in super_90_sync()
1618 mddev->reshape_position = MaxSector; in super_1_validate()
1739 if (mddev->reshape_position != MaxSector) { in super_1_sync()
2294 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
[all …]
Draid0.c590 mddev->recovery_cp = MaxSector; in raid0_takeover_raid45()
631 mddev->recovery_cp = MaxSector; in raid0_takeover_raid10()
673 mddev->recovery_cp = MaxSector; in raid0_takeover_raid1()
Ddm-raid.c548 rs->dev[i].rdev.recovery_offset = MaxSector; in parse_raid_params()
556 rs->md.recovery_cp = MaxSector; in parse_raid_params()
986 } else if (mddev->recovery_cp != MaxSector) { in super_init_validation()
1043 if (rdev->recovery_offset != MaxSector) in super_validate()
1465 (rs->md.recovery_cp == MaxSector)) in raid_status()
Draid5.c649 if (conf->mddev->reshape_position == MaxSector) in has_failed()
868 if (progress == MaxSector) in use_new_offset()
3565 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5064 if (mddev->reshape_position != MaxSector) in make_discard_request()
5173 mddev->reshape_position == MaxSector && in make_request()
5199 if (unlikely(conf->reshape_progress != MaxSector)) { in make_request()
6490 if (mddev->reshape_position == MaxSector) in setup_conf()
6568 if (conf->reshape_progress != MaxSector) { in setup_conf()
6653 if (mddev->recovery_cp != MaxSector) in run()
6674 if (mddev->reshape_position != MaxSector) { in run()
[all …]
Dmd.h28 #define MaxSector (~(sector_t)0) macro