Re: [PATCH 19/19] Multipath members should not be added to the ignored disk list.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/storage/devicetree.py b/storage/devicetree.py
> index 3c81b65..4df31bc 100644
> --- a/storage/devicetree.py
> +++ b/storage/devicetree.py
> @@ -886,8 +886,10 @@ class DeviceTree(object):
>          if name in self._ignoredDisks:
>              return True
>  
> -        if udev_device_is_disk(info) and not udev_device_is_md(info) and \
> -           not udev_device_is_dm(info):
> +        if udev_device_is_disk(info) and \
> +                not udev_device_is_md(info) and \
> +                not udev_device_is_dm(info) and \
> +                not udev_device_is_multipath_member(info):
>              if self.exclusiveDisks and name not in self.exclusiveDisks:
>                  self.addIgnoredDisk(name)
>                  return True

Making changes to isIgnored always makes me nervous, but this looks to
be correct and consistent with how we're already treating other
aggregate devices.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux