linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mdadm PATCH 00/12] External metadata updates and other fixes for 3.0.3
@ 2009-10-14  2:10 Dan Williams
  2009-10-14  2:10 ` [mdadm PATCH 01/12] imsm: cleanup disk status tests Dan Williams
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Dan Williams @ 2009-10-14  2:10 UTC (permalink / raw)
  To: neilb; +Cc: linux-raid, krzysztof.wojcik, ed.ciechanowski, maciej.patelczyk

Hi Neil,

The following changes are available at:

	git://github.com/djbw/mdadm.git

The stand out change in the diffstat is the incorporation of the
Option-ROM logic for handling arrays with different 'family numbers'.
The scheme the Option-ROM uses to resolve conflicts is not completely
amenable to mdadm's container scheme.  The end result is a corner case
that requires user intervention.  The user will need to assign new
container membership ids to prodigal disks that are returned to their
system of origin.  More details in the commit log and code comments.

Also notable are the changes to cleanup mdmon instance management.  I
kept the status quo in deciding against implementing an "abstract
namespace socket" for the control path.  Initramfs environments can take
two paths:
1/ Use the built-in 'newroot' option to hand off monitoring to an
   mdmon binary launched from the target file system.  Currently Dracut
   will not be able to use this method as its 'switch_root' command does
   not allow an mdmon instance to be launched between $NEWROOT/dev and
   $NEWROOT/sys being available and the initramfs exiting.
2/ Keep the mdmon instance from the initramfs running until it can be
   killed by the final-root initscripts.  The socket will not be available
   so this should be done while the file system is still read only and
   any writes from journal recovery have quiesced.

In testing this I noticed that wait_for() (util.c) occasionally timed
out on Fedora 11, but not Fedora 9.  Increasing the loop count to 50 got
around the issue, but need to investigate what is holding up our
requested symlink.

Thanks,
Dan

Dan Williams (12):
      imsm: cleanup disk status tests
      imsm: kill close() of component device
      imsm: disambiguate family_num
      imsm: fix spare record writeout race
      imsm: fix/support --update
      ddf: prevent superblock being zeroed on --update
      imsm: add --update=uuid support
      imsm: regression test for prodigal array member scenario
      Detail: export MD_UUID from mapfile
      mdmon: avoid writes in the startup path for mdmon on root arrays
      mdmon: exec(2) when the switchroot argument is not "/"
      mdmon: preserve socket over chroot

 Assemble.c                |    3 
 Detail.c                  |    5 
 managemon.c               |    6 
 mdadm.c                   |    4 
 mdadm.h                   |    8 
 mdmon.c                   |  107 +++---
 msg.c                     |   14 +
 msg.h                     |    1 
 super-ddf.c               |   27 +-
 super-intel.c             |  799 ++++++++++++++++++++++++++++++++-------------
 sysfs.c                   |    5 
 tests/09imsm-assemble     |   46 +++
 tests/env-09imsm-assemble |   32 ++
 util.c                    |   12 -
 14 files changed, 780 insertions(+), 289 deletions(-)
 create mode 100644 tests/09imsm-assemble
 create mode 100644 tests/env-09imsm-assemble

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-10-19  1:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14  2:10 [mdadm PATCH 00/12] External metadata updates and other fixes for 3.0.3 Dan Williams
2009-10-14  2:10 ` [mdadm PATCH 01/12] imsm: cleanup disk status tests Dan Williams
2009-10-14  2:10 ` [mdadm PATCH 02/12] imsm: kill close() of component device Dan Williams
2009-10-14  2:10 ` [mdadm PATCH 03/12] imsm: disambiguate family_num Dan Williams
2009-10-14  2:10 ` [mdadm PATCH 04/12] imsm: fix spare record writeout race Dan Williams
2009-10-14  2:10 ` [mdadm PATCH 05/12] imsm: fix/support --update Dan Williams
2009-10-14  2:10 ` [mdadm PATCH 06/12] ddf: prevent superblock being zeroed on --update Dan Williams
2009-10-14  2:10 ` [mdadm PATCH 07/12] imsm: add --update=uuid support Dan Williams
2009-10-14  2:10 ` [mdadm PATCH 08/12] imsm: regression test for prodigal array member scenario Dan Williams
2009-10-14  2:11 ` [mdadm PATCH 09/12] Detail: export MD_UUID from mapfile Dan Williams
2009-10-14  2:11 ` [mdadm PATCH 10/12] mdmon: avoid writes in the startup path for mdmon on root arrays Dan Williams
2009-10-14  2:11 ` [mdadm PATCH 11/12] mdmon: exec(2) when the switchroot argument is not "/" Dan Williams
2009-10-19  1:57   ` Neil Brown
2009-10-14  2:11 ` [mdadm PATCH 12/12] mdmon: preserve socket over chroot Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).