[blivet:rhel7-master 0/6] #1090009 related patches (v3)

mulhern amulhern at redhat.com
Fri Dec 12 15:59:41 UTC 2014


This set is slightly lighter weight than (v2).

The big difference in the final patch is that it attempts to re-get the
udev info if the essential info is not available instead of if the array
is inactive. This actually makes a little more sense and leaves out
the necessity of having a separate method for reading the array state.

Still think that it would be sensible to have a generic facility for reading
from files in sysfs/md directory and getting info about the array that way.
But since we don't need anything about that in this version of the patch
set I'm leaving that problem alone for now.

The method tagged w/ bz are for both, those without are just for master.

mulhern (6):
  Change _matchNames so that it is less restrictive
  Substitute simple value for single element array.
  Change allow_degraded_mdraid flag to allow_imperfect_devices
    (#1090009)
  Add mdrun method to just start, not assemble, an array. (#1090009)
  Add a method that looks at DEVNAME (#1090009)
  If allowing degraded array, attempt to start it (#1090009)

 blivet/devicelibs/mdraid.py                      | 14 ++++++++
 blivet/devicetree.py                             | 46 +++++++++++++++++-------
 blivet/flags.py                                  |  4 +--
 blivet/udev.py                                   |  3 ++
 tests/devicelibs_test/mdraid_interrogate_test.py | 20 +++--------
 5 files changed, 57 insertions(+), 30 deletions(-)

-- 
1.9.3



More information about the anaconda-patches mailing list