Re: [PATCH] Wait for scsi adapters to be done with scanning their busses (#583143)

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

 



> diff --git a/storage/udev.py b/storage/udev.py
> index 483cd69..e3a270a 100644
> --- a/storage/udev.py
> +++ b/storage/udev.py
> @@ -77,6 +77,11 @@ def udev_resolve_glob(glob):
>      return ret
>  
>  def udev_get_block_devices():
> +    # Wait for scsi adapters to be done with scanning their busses (#583143)
> +    iutil.execWithRedirect("modprobe", [ "scsi_wait_scan" ],
> +                               stdout = "/dev/tty5", stderr="/dev/tty5")
> +    iutil.execWithRedirect("rmmod", [ "scsi_wait_scan" ],
> +                               stdout = "/dev/tty5", stderr="/dev/tty5")
>      udev_settle()
>      entries = []
>      for path in udev_enumerate_block_devices():

So we're going to do a modprobe and an rmmod on every single call to
udev_get_block_devices?  Have you seen how many times we do that?

- 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