Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/
Ddm-raid.c237 int raid10_copies; member
1122 unsigned int raid10_copies = 2; in parse_raid_params() local
1449 raid10_copies = value; in parse_raid_params()
1493 if (raid10_copies > rs->md.raid_disks) { in parse_raid_params()
1498 rs->md.new_layout = raid10_format_to_md_layout(rs, raid10_format, raid10_copies); in parse_raid_params()
1518 rs->raid10_copies = raid10_copies; in parse_raid_params()
1638 if (rs->raid10_copies < 2 || in rs_set_dev_and_array_sectors()
1644 dev_sectors *= rs->raid10_copies; in rs_set_dev_and_array_sectors()
1649 if (sector_div(array_sectors, rs->raid10_copies)) in rs_set_dev_and_array_sectors()
2419 rs->raid_disks % rs->raid10_copies) { in super_init_validation()
[all …]
/Linux-v4.19/Documentation/device-mapper/
Ddm-raid.txt49 (see raid10_format and raid10_copies below)
86 [raid10_copies <# copies>]
94 or 'raid10_copies 2' and/or 'raid10_format near' are given,
108 If 'raid10_copies 2' and 'raid10_format far', then the layouts
121 If 'raid10_copies 2' and 'raid10_format offset', then the
344 (wrong raid10_copies/raid10_format sequence)