[blivet:rhel7-master 4/6] Add mdrun method to just start, not assemble, an array. (#1090009)

Vratislav Podzimek vpodzime at redhat.com
Tue Dec 16 13:08:17 UTC 2014


On Fri, 2014-12-12 at 10:59 -0500, mulhern wrote:
> Related: rhbz#1090009
> 
> Signed-off-by: mulhern <amulhern at redhat.com>
> ---
>  blivet/devicelibs/mdraid.py | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/blivet/devicelibs/mdraid.py b/blivet/devicelibs/mdraid.py
> index 11e06d7..ae8fa4d 100644
> --- a/blivet/devicelibs/mdraid.py
> +++ b/blivet/devicelibs/mdraid.py
> @@ -257,6 +257,20 @@ def mddeactivate(device):
>      except MDRaidError as msg:
>          raise MDRaidError("mddeactivate failed for %s: %s" % (device, msg))
>  
> +def mdrun(device):
> +    """Start a possibly degraded array.
> +
> +       :param str device: the device to be assembled
Wrong/misleading docstring.

-- 
Vratislav Podzimek

Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic




More information about the anaconda-patches mailing list