[RFC 0/6] Update 90mdraid

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

 



This is a set of patches simplifying mdraid module, with a few fixes along the way.

1)	90mdraid: adjust stock mdadm udev rules
2)	90(md|dm)raid: recognize ddf container
3)	90mdraid: containers are not runnable
4)	90mdraid: fix/adjust mdraid-cleanup
5)	90mdraid: fix/adjust force-run script
6)	90mdraid: fix/adjust 65-md* rules and related scripts

First 4 patches are pretty simple and could likely go in. In particular, 1st
one has a fix for stock mdadm rules, which originally cause unconditional
incremental assembly of all native+imsm components.

#4 - I'm still not sure, why exactly raid cleanup was called twice.

#5 and #6 are main part with more changes resulting with, subjecitvely,
cleaner and shorter code. All the details and rationale are in respective
commit messages.

It looks solid, but it's still work in progress and requires some
testing. Comment if you have any objections or questions.

For convenience, it can be also pulled from:
  git://git.hasevolq.net/dracut.git mdraid-fix-v1


Michal Soltys (6):
  90mdraid: adjust stock mdadm udev rules
  90(md|dm)raid: recognize ddf container
  90mdraid: containers are not runnable
  90mdraid: fix/adjust mdraid-cleanup
  90mdraid: fix/adjust force-run script
  90mdraid: fix/adjust 65-md* rules and related scripts

 dracut.kernel.7.xml                             |    6 ++
 modules.d/90dmraid/61-dmraid-imsm.rules         |    1 +
 modules.d/90dmraid/parse-dm.sh                  |    4 +
 modules.d/90mdraid/65-md-incremental-imsm.rules |   92 ++++++----------------
 modules.d/90mdraid/md-noddf.sh                  |    5 +
 modules.d/90mdraid/md-noimsm.sh                 |    2 +-
 modules.d/90mdraid/md_finished.sh               |    9 --
 modules.d/90mdraid/mdadm_auto.sh                |    2 +-
 modules.d/90mdraid/mdcontainer_start.sh         |   12 ---
 modules.d/90mdraid/mdraid-cleanup.sh            |   30 ++++---
 modules.d/90mdraid/mdraid_start.sh              |   52 ++++++++-----
 modules.d/90mdraid/module-setup.sh              |   15 +++-
 modules.d/90mdraid/parse-md.sh                  |   15 +++-
 13 files changed, 114 insertions(+), 131 deletions(-)
 create mode 100755 modules.d/90mdraid/md-noddf.sh
 delete mode 100755 modules.d/90mdraid/md_finished.sh
 delete mode 100755 modules.d/90mdraid/mdcontainer_start.sh

-- 
1.7.5.3

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux