Home
last modified time | relevance | path

Searched refs:raid10_copies (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/md/
Ddm-raid.c241 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()
[all …]
/Linux-v6.6/Documentation/admin-guide/device-mapper/
Ddm-raid.rst65 (see raid10_format and raid10_copies below)
113 [raid10_copies <# copies>], [raid10_format <near|far|offset>]
120 or 'raid10_copies 2' and/or 'raid10_format near' are given,
138 If 'raid10_copies 2' and 'raid10_format far', then the layouts
154 If 'raid10_copies 2' and 'raid10_format offset', then the
409 (wrong raid10_copies/raid10_format sequence)