Re: [PATCH 3/3] Don't activate / de-activate dmraid sets on setup / teardown

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

 



> diff --git a/storage/devices.py b/storage/devices.py
> index bc8951f..7b4b314 100644
> --- a/storage/devices.py
> +++ b/storage/devices.py
> @@ -2682,34 +2682,19 @@ class DMRaidArrayDevice(DiskDevice):
>          else:
>              self.sysfsPath = ''
>  
> -    def teardown(self, recursive=None):
> -        """ Close, or tear down, a device. """
> +    def deactivate(self):
> +        """ Deactivate the raid set. """

Aren't we still going to end up getting DiskDevice.teardown called for
these devices in some loop somewhere?  Same for setup.

- 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