Lines Matching refs:raid10_copies
241 int raid10_copies; member
1128 unsigned int raid10_copies = 2; in parse_raid_params() local
1455 raid10_copies = value; in parse_raid_params()
1499 if (raid10_copies > rs->md.raid_disks) { in parse_raid_params()
1504 rs->md.new_layout = raid10_format_to_md_layout(rs, raid10_format, raid10_copies); in parse_raid_params()
1524 rs->raid10_copies = raid10_copies; in parse_raid_params()
1643 if (rs->raid10_copies < 2 || in rs_set_dev_and_array_sectors()
1649 dev_sectors *= rs->raid10_copies; in rs_set_dev_and_array_sectors()
1654 if (sector_div(array_sectors, rs->raid10_copies)) in rs_set_dev_and_array_sectors()
2399 rs->raid_disks % rs->raid10_copies) { in super_init_validation()
2719 rs->raid10_copies); in rs_setup_takeover()
2758 rs->raid10_copies && in rs_prepare_reshape()
2759 rs->raid10_copies != __raid10_near_copies(mddev->layout)) { in rs_prepare_reshape()
2766 if (rs->raid_disks % rs->raid10_copies) { in rs_prepare_reshape()
2774 rs->raid10_copies); in rs_prepare_reshape()