curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #01363
[Merge] ~mwhudson/curtin:lp-1878041 into curtin:master
The proposal to merge ~mwhudson/curtin:lp-1878041 into curtin:master has been updated.
Commit message changed to:
multipath: use udev DM_NAME for find_mpath_id, fix 4k sector calc
1) find_mpath_id asked multipathd to list all maps and read out the name
(or wwid if no name) of the device from that and sometimes timed out,
but this information is already present in udev as DM_NAME. And
DM_NAME is the wwid if user_friendly_names is disabled, so there's no
need to be conditional about that either.
2) fix calculating start and offset of partition on multipathed 4k disk
calc_dm_partition_info returns start and offset in 512-byte sectors
but calc_partition_info only adjusted the sectors in the
non-multipath case.
I also did some code tidying, including moving the responsibility for
raising an exception if dmsetup produces no output to
calc_dm_partition_info.
LP: #1878041
For more details, see:
https://code.launchpad.net/~mwhudson/curtin/+git/curtin/+merge/396538
--
Your team curtin developers is subscribed to branch curtin:master.
References