stop coalescing disks with the same multipath id
curtin now produces a single disk action for a multipathed disk
This commit is contained in:
parent
c6185075c7
commit
1f671db844
|
@ -1511,7 +1511,6 @@ class FilesystemModel(object):
|
|||
byid = {}
|
||||
objs = []
|
||||
exclusions = set()
|
||||
seen_multipaths = set()
|
||||
for action in config:
|
||||
if is_probe_data and action['type'] == 'mount':
|
||||
if not action['path'].startswith(self.target):
|
||||
|
@ -1549,12 +1548,6 @@ class FilesystemModel(object):
|
|||
if is_probe_data:
|
||||
kw['preserve'] = True
|
||||
obj = byid[action['id']] = c(m=self, **kw)
|
||||
multipath = kw.get('multipath')
|
||||
if multipath:
|
||||
if multipath in seen_multipaths:
|
||||
exclusions.add(obj)
|
||||
else:
|
||||
seen_multipaths.add(multipath)
|
||||
objs.append(obj)
|
||||
|
||||
while True:
|
||||
|
|
Loading…
Reference in New Issue