stop coalescing disks with the same multipath id

curtin now produces a single disk action for a multipathed disk
This commit is contained in:
Michael Hudson-Doyle 2021-03-24 17:25:11 +13:00
parent c6185075c7
commit 1f671db844
1 changed files with 0 additions and 7 deletions

View File

@ -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: