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

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



> 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


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