New commits on branch build

Martin F. Krafft madduck at alioth.debian.org
Fri May 28 09:56:37 UTC 2010


URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b124f802fa1dc0133ca78872777bf321fbd1ee75
Merge: 7f461a041f03f1f01fa98f30971aa18c7ccd0b6f f4f9b64a60ac64b0323aa287ebc4f858658c2f8f
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 28 11:45:06 2010 +0200

    Merge branch 'master' into build

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f4f9b64a60ac64b0323aa287ebc4f858658c2f8f
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 28 11:44:59 2010 +0200

    prepare changelog for 3.1.2-2 upload
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=378bd2ecbefedbbf16bcd874f9de45bb97d299c4
Author: Doug Ledford <dledford at redhat.com>
Date:   Tue Apr 6 14:04:30 2010 -0400

    powerpc compile fix
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>
    Signed-off-by: NeilBrown <neilb at suse.de>
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d2749d5399f7d26b854c7943bb1956f779b8febd
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 27 15:41:09 2010 +0200

    add bug number to logcheck fix
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ea5abd91835b749a12b48dc971674c72b771ebf2
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 27 15:32:26 2010 +0200

    Fix logcheck regexp to cure "egrep: Unmatched [ or [^" message.
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5d451d3a5ed5dac32652206941d44ae793cc2496
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 27 15:31:42 2010 +0200

    fix changelog with real date

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cf7eca64e222f7df64f198b88d2d5ddb7684c793
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 27 11:27:14 2010 +0200

    enable automatic changelog merging

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7f461a041f03f1f01fa98f30971aa18c7ccd0b6f
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 27 09:34:30 2010 +0200

    prepare 3.1.2-1 for unstable
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ed99049b0aa81407173947a8bf3495c5b323c931
Merge: 932c11ccd4363a5db7a68ef0275489f8bf5f7eef ba133e3b1e0ae18160c5ea2b3f8496d824e637d4
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 27 09:34:18 2010 +0200

    Merge branch 'master' into build

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ba133e3b1e0ae18160c5ea2b3f8496d824e637d4
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 27 09:20:30 2010 +0200

    update debconf .po files
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f26b4591bdcdc30dc9ac5bbb1a2040ab319624db
Author: martin f. krafft <madduck at debian.org>
Date:   Wed May 26 09:42:39 2010 +0200

    Call MAKEDEV to create device nodes only if MAKEDEV is installed
    
    Debian-bug: #569360
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b98811995dc0371c899d1a8b97dc180ccea13443
Author: martin f. krafft <madduck at debian.org>
Date:   Wed May 26 09:21:32 2010 +0200

    document closing of #553896
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6091e4ce28c1892fe12caec182188217b4ea1b01
Author: martin f. krafft <madduck at debian.org>
Date:   Wed May 26 09:18:31 2010 +0200

    add new upstream 3.1.2 to changelog
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8a56581a391fb6b00aade1f6687e02255ff29420
Merge: 23c020cae7a5e894b02d440588f0c5a0e4287dae a4b93c9ce4f15217afb811cd8c92a8b8f01124d0
Author: martin f. krafft <madduck at debian.org>
Date:   Wed May 26 09:10:03 2010 +0200

    Merge commit 'mdadm-3.1.2a'

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=23c020cae7a5e894b02d440588f0c5a0e4287dae
Author: martin f. krafft <madduck at debian.org>
Date:   Mon May 24 11:19:03 2010 +0200

    Do not exit checkarray cronjob non-zero when the tests whether to run fail
    
    This is related to a recent change in behaviour in cron 3.0pl1-110 (see
    e.g. #581612). Thanks to everyone for their suggestions!
    
    Debian-bug: #580825
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b63f595c5d216751936ecd44b23d38860d79cc4c
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 20 11:13:29 2010 +0200

    checkarray: do not exit non-zero when there are no arrays found
    
    Debian-bug-reference: #582360
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a4b93c9ce4f15217afb811cd8c92a8b8f01124d0
Author: NeilBrown <neilb at suse.de>
Date:   Wed Apr 7 09:13:16 2010 +1000

    Add ANNOUNCE-3.1.2
    
    Forgot to git-add this for the release :-(
    
    Signed-off-by: NeilBrown <neil at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cf67026e1cddad379f67b37c6a1036f7042e6e5a
Author: Frédéric Brière <fbriere at fbriere.net>
Date:   Tue Apr 6 22:09:40 2010 +0200

    Fix logcheck rule since Rebuild events are no longer multiples of 20
    
    Debian bug: #570315
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=07efe96b6a64a53b5418d54ca4987552f6660a81
Merge: 40195fddf872c7c132336866065cc681f82677cb a31c140f13dfaac33d4f3ff0960cfe1c24fbe304
Author: martin f. krafft <madduck at debian.org>
Date:   Tue Apr 6 22:06:10 2010 +0200

    Merge commit 'mdadm-3.1.2'

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a31c140f13dfaac33d4f3ff0960cfe1c24fbe304
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 10 15:58:46 2010 +1100

    Release mdadm-3.1.2

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ebe6ea0c4cdb37d41cb3b247645b95eb71b1332e
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 10 07:53:16 2010 +1100

    tests: adjust sizes for new defaults
    
    Default metadata type is now 1.2, and we sometimes
    add extra alignment before the data section,
    so adjust tests for these changes.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d682f3445c7396b4ffd0328a4f8ed8e742ba2eec
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 10 15:55:47 2010 +1100

    ddf/intel: zero out old metadata before creating a container.
    
    Matching the functionality already in super0 and super1, when
    we first create a container, remove any other recognisable metadata to
    ensure it doesn't cause confusion.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a847575aa1ff0cffe85a1bf224b284ed6b8e2cc1
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 10 15:21:18 2010 +1100

    Grow: fix recent breakage - lseek return status.
    
    Recent fix to check lseek64 return status got it badly wrong.
    It doesn't return 0 on success!!
    
    Fix it.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1ff98339283645a20c980d540f6c4d82693e7daf
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 10 11:21:26 2010 +1100

    Assemble: fix some recently introduced bugs.
    
    Found during testing:
     - cannot check metadata for homehost before loading metadata.
     - As 1.x metadata can has a state 'rebuilding' between
       'spare' and 'ok', we need to include that in our calculations.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c1474842521823e2bc21d4add15a64bf5a9e2305
Merge: 430ea469ad1962cbef4d9068e5ca19e0bec41f65 49133e57822588ee4835cf3434432cf0904b267d
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 10 07:54:03 2010 +1100

    Merge branch 'master' of git://github.com/djbw/mdadm

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=430ea469ad1962cbef4d9068e5ca19e0bec41f65
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 9 16:32:04 2010 +1100

    Stop: done stop a container which still have members active.
    
    Doing that is just confusing...
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=624c5ad4cb7030f8039042ad442f919da8adad59
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 9 16:15:29 2010 +1100

    Make sure reshape_active is cleared by getinfo_super
    
    There were cases where --detail would report phantom reshapes.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ecdbb368f8ce8bdb710d124c9b5b5e021474a77d
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 9 14:34:03 2010 +1100

    mdmon.8: minor manpage update
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c64ba03ae74ee23bd3ade320c9553af72dad954a
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 9 14:22:39 2010 +1100

    mdadm.8: improve hosthost documentation
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=be1cabbd29000fb7f245d0934f3b4c834416b24f
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 9 14:14:39 2010 +1100

    Grow: fix problem with validating chunk size
    
    When checking if the new chunk size fit in the component size
    we were confusing sectors and K, and so getting it wrong.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=056b331efe5f9c60be11bda315336066b5e30106
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 9 10:57:57 2010 +1100

    Improve partition table code.
    
    Code to check partition tables used some needless casts
    and was broken, using a u8 when a u32 was wanted.
    
    So create structure describing the tables rather than using offset,
    and read into those tables instead.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=10adfe9ae766809955099a1f1a4b4340f99936f1
Author: Ryo Fujita <rfujita at redhat.com>
Date:   Mon Mar 8 15:47:33 2010 +1100

    mdadm.8: correct typo: pairty
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=49133e57822588ee4835cf3434432cf0904b267d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Mar 3 00:03:04 2010 -0700

    imsm: kill ->creating_imsm flag
    
    It is an unused holdover from long since removed functionality.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=32ba9157f562de836f20e5f938b60f792957fbe8
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Mar 3 00:03:04 2010 -0700

    Revert "Make the IMSM_DEVNAME_AS_SERIAL option work when creating containers."
    
    This reverts commit 9ef5dbff4adc7979102e71efe8efd83d8e0dc775 as it is
    duplicating the check that is done internal to imsm_read_serial().
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a380e2751efea7dfe8acf0b95419c65ccacfa7cf
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 3 15:22:56 2010 +1100

    super1: encourage data alignment on 1Meg boundary
    
    For 1.1 and 1.2 metadata where data_offset is not zero,
    it is important to align the data_offset to underlying
    block size.
    
    We don't currently have access to the particular device
    in avail_size so just try to force to a 1Meg boundary.
    
    Also default 1.x metadata to 1.2 as documented.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d1d3482b562369b0d32e4267c2e245a3371d1f10
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 3 14:33:55 2010 +1100

    config: add 'homehost' option to 'AUTO' line.
    
    This allows basing auto-assembly decisions on whether
    the array is recorded as belonging to this host or not.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5a9de8db047646e1e59d90afc478d1820736324d
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 3 13:16:24 2010 +1100

    Manage: fix regression on removing detached devices.
    
    If /dev is static, a name may remain there after the
    device has been detached from the system.
    Using 'mdadm' to remove such a device from the array
    should still work (even though "mdadm --remove detached"
    might be preferred).
    
    So when processing a device for '-r', don't insist on
    being able to open the device.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c132678b18c1aeb3f3eaa2ece4aafebd5e2b47a6
Author: Luca Berra <bluca at comedia.it>
Date:   Sun Feb 28 15:46:16 2010 +0100

    allow redefinition of VAR_RUN
    
    having mdmon socket under var is painful at shutdown time
    
    Signed-off-by: Luca Berra <bluca at comedia.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=32f217017fd5343ab3c0c564b689b90d0f093bd5
Author: NeilBrown <neilb at suse.de>
Date:   Sun Feb 28 15:43:40 2010 +0100

    mdmon: Check both RUN directories to find running mdmon
    
    If mdmon is run without "--takeover", it should still
    check both *_RUN directories for a valid 'pid' file
    to guard against having two mdmons running at the same time.
    
    
    Suggested-by: Luca Berra <bluca at comedia.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ed8fa52f31521b8314859f290c464f77359933a0
Author: Luca Berra <bluca at comedia.it>
Date:   Sun Feb 28 15:42:57 2010 +0100

    mdmon: check select a writable pid_dir
    
    Check that either VAR_DIR or ALT_DIR is actually writable before
    selecting it.
    
    Signed-off-by: Luca Berra <bluca at comedia.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cf556303573cd8cb9140c819b1ba1102ebc9cac7
Author: Luca Berra <bluca at comedia.it>
Date:   Sat Feb 27 16:07:51 2010 +0100

    fix mdmon takeover
    
    - when we waited for the old mdmon to exit, we didn't look
      for the socket in the right place
    
    - when we failed to find a pid file, we returned the wrong
      value (code expected <0, but got ==0).
    
    Signed-off-by: Luca Berra <bluca at comedia.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=eb49460b74f42e23bf284c4ccf92f4b6da2c582d
Author: Luca Berra <bluca at comedia.it>
Date:   Sat Feb 27 16:07:04 2010 +0100

    fix mdmon option parsing
    
    running mdmon --takeover --all resulted in a segfault.
    
    Also allow "--all" to be longer so that e.g. md_d127 can
    successfully over-write it in the argument list visible
    to 'ps'.
    
    Signed-off-by: Luca Berra <bluca at comedia.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fcf5762500297536d3c3376945684c4f654ffe44
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 3 10:54:17 2010 +1100

    Add _FORTIFY_SOURCE to mdadm.O2 build.
    
    When building mdadm.O2, set _FORTIFY_SOURCE to get more
    warnings, and also build mdmon.O2 to find warnings in that
    code too.
    Then fix the warnings.
    
    Suggested-by: Luca Berra <bluca at comedia.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=53f50353399f71aef4041b42df845803e7388d12
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 3 10:29:24 2010 +1100

    Fix warning about unused variable.
    
    Warning only appears with -O2, but is invalid.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bde713f0153ca752cb64af868e6d38e0c9628d94
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 3 10:17:41 2010 +1100

    fix gcc warnings about strict-aliasing rules
    
    Original-by: Luca Berra <bluca at comedia.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=24af7a8744d947b5c3f062af55312c044ca12a95
Author: NeilBrown <neilb at suse.de>
Date:   Wed Feb 24 12:17:17 2010 +1100

    Assemble: clean up properly if we cannot add the bitmap file.
    
    If we find we cannot add the requested bitmap file when
    assembling the array, then make sure to clean up properly
    and don't leave a half-configured array.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ad90adb689e3581432d71d995c9a8f0f6d31beb7
Author: NeilBrown <neilb at suse.de>
Date:   Wed Feb 24 12:03:27 2010 +1100

    Create: change default metadata type to 1.2
    
    Change default - again, sorry.
    
    v1.1 causes problems as the conflicts with a boot sector, whether on
    the whole device or in a partition.  I guess the rule is they you
    aren't allowed to use the first sector in general.
    
    v1.2 is mostly just as good and avoid boot-sector problems so default
    to that instead.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=097075b6111f46f87207b02bc3819280c39180f0
Author: NeilBrown <neilb at suse.de>
Date:   Wed Feb 24 11:59:11 2010 +1100

    Grow: be more relaxed about timestamp mismatches on backup file.
    
    As backup file has a timestamp which is updated quite separately
    from the metadata timestamp.  They should be largely in-sync but
    sometimes are not.
    So be more generous in the check, and allow it to be over-ridden
    by an environment variable.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4c1c3ad8cf69763a4c8c4ba692a8cb93327a4abf
Author: NeilBrown <neilb at suse.de>
Date:   Wed Feb 24 11:43:59 2010 +1100

    Assemble: check inargv before complaining about stray arguments.
    
    If --assemble is given a container and some other devices to assemble
    an array from, it complains with an error because that doesn't make
    sense.
    However it currently also complains if the list of devices was extract
    from the config file rather than being given on the command line.
    That is not appropriate.
    
    So add an '&& inargv' test to ensure that we are really complaining
    about the right thing.
    
    Signed-off-by: NeilBrown <neilb at suse.de>
    Acked-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a31128d2de3c3b60e6cbcceef391479ad3c0cfb4
Author: NeilBrown <neilb at suse.de>
Date:   Wed Feb 24 11:31:48 2010 +1100

    super1: put bitmap on a 4K boundary when possible.
    
    Some devices have 4K sector sizes.  So try to align the bitmap
    on a 4K boundary.
    This isn't possible when hot-adding a bitmap, but will be once
    we add support for configuring the bitmap via sysfs.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b179246f4f519082158279b2f45e5fd51842cc42
Author: NeilBrown <neilb at suse.de>
Date:   Wed Feb 24 11:16:41 2010 +1100

    Assemble: Handle assembling from config file which is out of order.
    
    Currently "mdadm -As" will process the entries in the config
    file in order.  If any array is a component or member of a preceding
    array, that array will not be assembled.
    
    So if there are any failures during assembly, retry those arrays,
    and look until everything is assembled, or nothing more can
    be assembled.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cd9a8b5cb4c2a402dbc2bf0ce314cd87285bcf4d
Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb 8 14:43:51 2010 +1100

    mdmon: Document startup/shutdown requirements in man page.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=319767b85c2b16d80c235195329470c46d4547b3
Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb 8 14:33:31 2010 +1100

    mapfile: use ALT_RUN as alternate place to store mapfile
    
    This gives better consistency and fewer hidden '.' files.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fa716c83c5be8093e663e260e46e73ea9ad6facf
Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb 8 14:30:46 2010 +1100

    mdmon: insist on creating .pid file at startup.
    
    Now that we don't "mdadm --takeover" until /var/run is writable
    there is no need to continually try to create files in there.
    
    So only create these files at startup and fail if they cannot be
    made.  This means that to start an array with externally managed
    metadata, either /var/run or ALT_RUN (e.g. /lib/init/rw) must be
    writable.  To 'takeover' from a previous mdmon instance, /var/run
    must be writable.
    
    This means we don't need to worry about SIGHUP (which was once used to
    tell us it was time to create .pid) and SIGALRM.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=58a4ba2a6b66ac14fa0ebaf0ce40326582d31429
Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb 8 14:12:46 2010 +1100

    mdmon: don't monitor /proc/mounts to decide when to create .pid file.
    
    Monitoring /proc/mounts and creating a .pid file as soon as /var/run
    is writable is racy.  Most distros clean all non-directories from
    /var/run early in boot and if mdmon races with this it could
    lose the files as soon as they are created.
    
    Instead require that "mdmon --takeover" be run after /var is writable.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b5c727dc1a55323f02e5f60a50bcecb866dd51ea
Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb 8 14:08:13 2010 +1100

    mdmon: remove switch-root functionality.
    
    Using switch-root and then creating files in /var/run once
    that location is writable is racing as most distro clean out
    /var/run shortly after it is mounted.
    This can cause the .pid and .sock files to be deleted shortly
    after they are created.
    
    This option doesn't seem to be used at all any, and the alternative
    of communicating the pid etc in some preserved directory and then
    restarting mdmon once all is settled seems simpler.
    
    So remove the code for supporting switchroot and update man page
    accordingly.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a9596b79a316404bbb4e3792c97b3d0a597ec885
Author: NeilBrown <neilb at suse.de>
Date:   Thu Feb 4 17:34:06 2010 +1100

    mdmon: recognise --all in place of /proc/mdstat
    
    It seems more meaningful.
    Keep the old option as well for back compatibility.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5d4d1b26d3da8b489ed7e2f5a38f7d90b7f4008f
Author: NeilBrown <neilb at suse.de>
Date:   Thu Feb 4 16:31:49 2010 +1100

    mdmon: allow pid to be stored in different directory.
    
    /var/run probably doesn't persist from early boot.
    So if necessary, store in in /lib/init/rw or somewhere else
    that does persist.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=24f6f99b3630b1a89aaa57930c5c9de8a3df9ded
Author: NeilBrown <neilb at suse.de>
Date:   Thu Feb 4 16:47:21 2010 +1100

    Having single function to read mdmon pid file.
    
    We don't need three.
    One (signal_mdmon) wasn't even being used.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=24cfdbc5c0b6a1ccae28ffb10a707160525f18c6
Author: NeilBrown <neilb at suse.de>
Date:   Thu Feb 4 14:49:32 2010 +1100

    mdmon: discard test_pidfile()
    
    devname2mdmon() can be used just as easily and doing so saves us from
    some duplicate code.
    Also tidy up some related logic.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=688a1e5b07dc46ae10aeafbda61c1700ad09551b
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 12:20:11 2010 +1100

    mdmon: don't mkdir /var/run
    
    Creating /var/run in mdmon is really not justifiable.
    
    If /var/run doesn't exist, then it is either deliberate and it should
    be left that way to make sure the mapfile gets created in /dev, or
    it is a configuration error and not our problem to fix.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e98ef2250905e8525bbdc0aab83e07a3de5a70ed
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 12:14:17 2010 +1100

    mdmon: improve switchroot handling.
    
    The change to get mdmon to re-exec itself from the switchroot
    filesystem broken switchroot in various ways.  This fixes it.
    
    If the switchroot path is not '/', mdmon will find the pid and
    socket for the monitor, chroot to the new root, and exec mdmon
    passing the pid in argv[2] and the socket in stdin.
    
    If the switchroot path is actually a number, mdmon will not chroot,
    but will kill that pid before taking over the array.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=af7ca334874b86921c7fe76059f33bfddb209296
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 11:33:01 2010 +1100

    mdmon: simplify try_kill_monitor
    
    After we SIGTERM the monitor we need to wait for it to finish up.
    Rather than the complexity of waiting for every md array to be clean,
    we can simply read from the sock connected to the monitor.
    When the monitor dies, we will get EOF.  Before then we will block.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3e7312a96cddb49cb6a16842ac5c67f6c51a16c9
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 10:40:07 2010 +1100

    mdmon: remove scan variable from mdmon()
    
    It is redundant as each place that it is used, it can only
    have one possible value.
    Also change the related arg to mdmon() to have a more meaningful
    name.
    And make mdmon() static.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=921d9e164fd3f6203d1b0cf2424b793043afd001
Author: NeilBrown <neilb at suse.de>
Date:   Thu Feb 4 12:02:09 2010 +1100

    Assemble: fix --force assembly of v1.x arrays which are recovering.
    
    1.x metadata allows a device to be a member of the array while it
    is still recoverying.  So it is a working member, but is not
    completely in-sync.
    
    mdadm/assemble does not understand this distinction and assumes that a
    work member is fully in-sync for the purpose of determining if there
    are enough in-sync devices for the array to be functional.
    
    So collect the 'recovery_start' value from the metadata and use it in
    assemble when determining how useful a given device is.
    
    Reported-by: Mikael Abrahamsson <swmike at swm.pp.se>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cc86f89c855fcfe9820d0621ede1575adc317155
Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb 1 10:37:58 2010 +1100

    Create: Improve warning message about booting from v1.x
    
    Suggesting that if your boot loaded doesn't support v1.x, then use
      --metadata=1.0
    doesn't make a lot of sense.
    Also, '/', isn't really important, it is /boot that matters.
    Hopefully people who have /boot on '/' realise that /boot is
    on '/' ....
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ac5678dd9b67995a84bf2348d82e641d7895415e
Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb 1 10:22:38 2010 +1100

    Add test for "are we running as root".
    
    Most operations require root access.  Rather than ensure we generate
    the right error message when something fails because we aren't root,
    check early.
    Note that "--examine" does not necessarily require root, so test
    for that first.
    
    Resolves-Debian-bug: 396570
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cf1be220e276285bda849e3d8f924fca6322fc05
Author: Luca Berra <bluca at comedia.it>
Date:   Sat Jan 30 10:59:29 2010 +0100

    super-intel.c: use %zu specifier for printf of size_t
    
    Fix compile warning when size_t is not a long.
    
    Acked-by: Dan Williams <dan.j.williams at intel.com>
    Signed-off-by: Luca Berra <bluca at vodka.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c3e1a50fcb535f133cfd50302c20af4b52328b65
Author: Luca Berra <bluca at comedia.it>
Date:   Sat Jan 30 10:56:11 2010 +0100

    mdadm-3.1.1 segfaults when mdadm -G -Z is used.
    
    Signed-off-by: Luca Berra <bluca at vodka.it>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=40195fddf872c7c132336866065cc681f82677cb
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 23:24:53 2010 +1300

    policy version 3.8.4, no changes
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4c619b292f7e6b69a817b96d2001ff8f10b7a6bd
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Jan 28 16:48:44 2010 +0100

    Kill: fix when zeroing busy devices.
    
    mdadm should not wait indefinitely when it trys to reset
    superblock on device which is busy (cannot be opened).
    
    Acked-by: Andre Noll <maan at systemlinux.org>
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=debb4be5b5bdf2819699fd2a65e19632d98a1c5c
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 18:37:03 2010 +1300

    translate between /dev/mdX and /dev/md/X
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a82f419df02a4dacf4046cbee9dfb48ccbeaab11
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 18:01:01 2010 +1300

    check for running devices based on UUID
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fc7e81e54ec37ece4f1a8ec1729933fc22ec25ff
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 16:20:08 2010 +1100

    mapfile: fix locking.
    
    The current locking uses lockf, and is completely broken.
    When you hold a lockf lock, any close of any fd on that file will
    release the lock.  So map_read() call which is made as soon as we get
    the lock, will immediately drop the lock.
    
    So change to flock locking which isn't so badly designed.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d998adc316299efc44cb6e70ecc2e04bffb76d17
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 15:45:36 2010 +1100

    Detail:  Report state of FAILED when an array has too few devices to work.
    
    We already have a call to 'enough' in Detail which is the check for
    "do we have enough devices".  We just need to calculate the required
    data a bit earlier, then use the same 'enough' call to possibly
    print FAILED.
    
    This is motivated by Debian bug 495755.
    The other request in that bug is not practical.
    
        It would be very nice if output of `mdadm' is more clear in case of a
        broken array.
    
        Currently the only hint you get from `mdadm' that your array is broken
        is this:
    
        # mdadm -A /dev/md0 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
        mdadm: /dev/md0 assembled from 1 drive and 3 spares - not enough to start the
        array.
    
        It could say something like `Your array is broken, you can't use it anymore'
    
    It is not valid to report that array as 'broken' if the user hasn't
    listed all the devices, which could be the case here.
    
    
    Resolves-Debian-Bug: 495755
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a1331cc4068d4c0723dd46f3a170ed100adba000
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 14:54:55 2010 +1100

    Tidy up some argument parsing, particularly for -b
    
    -b only means --brief in MISC mode, elsewhere it is --bitmap.
    
    Resolves-debian-bug: 427777
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c93e9d68d01fc97172c83ef9d2ee9a440db4a09d
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 10:21:56 2010 +1100

    md.4: various improvements to new section on scrubbing.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=417a4b046dbf1aa430237ceb192d65cdb3381a05
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jan 29 10:15:15 2010 +1100

    mdmon: fix fd leak and possible buffer overrun.
    
    We normally wouldn't close 'fd', and as 'buf' might not have
    had a nul, strstr could have overrun it.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=50715745e936ac937084ae390519bd5862ce2985
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 10:05:06 2010 +1300

    add bugscript changes to changelog
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d6945e88b2b436c71c0c3bfc7965dc5e4d180bbb
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 10:03:35 2010 +1300

    improve initrd output in bugscript
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cdfa6aff517d304457211a8f3696cf56aaa46057
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 10:03:21 2010 +1300

    include LVM PVs before mount in bugscript
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=224856753ed6aedefe79fb4cf8fd09803f4230cf
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 10:03:03 2010 +1300

    move mount output after partitions in bugscript
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=61470097d3c446350a73fe05c435e56398868f85
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 07:56:09 2010 +1300

    add default/mdadm to bugscript output
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2c22642299aee8d9b099899b5bb8b244a1f37ddb
Author: martin f. krafft <madduck at debian.org>
Date:   Fri Jan 29 07:55:26 2010 +1300

    also output old mdadm.conf in bugscript
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0c8675cbedee9263569a7f8fcbd2c82b23780145
Author: NeilBrown <neilb at suse.de>
Date:   Thu Jan 28 16:55:28 2010 +1100

    Correctly parse -N command line option.
    
    'N' wasn't listed in the sort options, so you
    had to use --name :-)
    
    Resolved-Debian-Bug: 564004
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1cc44574b2b7089275d2aea592a57294880ee45d
Author: NeilBrown <neilb at suse.de>
Date:   Thu Jan 28 13:09:58 2010 +1100

    md.4: add section on scrubbing and mismatch counts.
    
    This relates to debian bug 405919
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=39bbb392022d7d3008a0695755ced84fa49d2231
Author: NeilBrown <neilb at suse.de>
Date:   Thu Jan 28 11:48:03 2010 +1100

    Grow: If bitmap interferes with grow, report this.
    
    If a bitmap exists on an array, then current kernels cannot grow
    that array.
    So when we try to grow an array, test for EBUSY and if a bitmap is
    present, report that the bitmap needs to be removed.
    
    Resolves-Debian-Bug: 534571
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9f22b13fe1726f3ac4da423a3e56441590c28d9f
Author: NeilBrown <neilb at suse.de>
Date:   Thu Jan 28 09:01:36 2010 +1100

    Assemble: error-check ->load_super
    
    Once load_super has succeeded, it should continue to succeed.  However
    devices can disappear etc so it is prudent to always check the return
    status of load_super.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=080fd00521590cef01e4b6d8268fd998e15698cf
Author: NeilBrown <neilb at suse.de>
Date:   Thu Jan 28 08:55:18 2010 +1100

    Remove stray debugging printfs
    
    These were never supposed to be released, and due
    to a type issue they cause compile problems on
    some architectures.
    
    Resolves-Debian-Bug: 567167
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a5c6a02172488db42976886180df934d22ff37db
Author: martin f. krafft <madduck at debian.org>
Date:   Wed Jan 27 14:42:35 2010 +1300

    Ignore lintian error about not stopping in runlevel 1.
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4d0b563b5b5597cc1467e3560f87fc3a144223a2
Author: Doug Ledford <dledford at redhat.com>
Date:   Mon Jan 11 15:38:14 2010 -0500

    Fix segfault when the AUTO keyword is used in the config file
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6e48d593c163e8107f06d13bc6092466a5d58c94
Author: Doug Ledford <dledford at redhat.com>
Date:   Mon Jan 11 15:38:12 2010 -0500

    Don't use %02d as a metadata format specifier for metadata numbers.
    
    It confuses us when we read the output back later
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9ef5dbff4adc7979102e71efe8efd83d8e0dc775
Author: Doug Ledford <dledford at redhat.com>
Date:   Mon Jan 11 15:38:10 2010 -0500

    Make the IMSM_DEVNAME_AS_SERIAL option work when creating containers.
    
    This allows a person to testing using loopback devices that don't
    support serial number queries.
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6acad4811b06335a2602fa1eeaec3a8f47f96591
Author: Michael Evan <mjevans1983 at gmail.com>
Date:   Wed Dec 9 21:52:18 2009 -0800

    Document validity of --assume-clean when all devices are zeroed.
    
    >>
    >> When I assemble an array I tend to have checked the devices before
    >> hand; it would not be difficult to make the final pass a zeroing pass
    >> if I knew I could vastly speed up post-assembly performance.  As I
    >> stated, it's merely a lack of clarity in the documentation.
    >
    > If you would like to create a patch against the man page, I would be happy to
    > accept it.
    >
    > NeilBrown
    
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8409bc51e828bdf748138882e89229d6f6080b7c
Merge: c1e3ab8c1e76f4ae71ab23bcf5e8c2bf8bd3774e dd9bb2fbed335f69225ea1a3514bd27422288a18
Author: NeilBrown <neilb at suse.de>
Date:   Wed Dec 30 13:46:52 2009 +1100

    Merge branch 'klockwork' of git://github.com/djbw/mdadm
    
    Conflicts:
    	super-intel.c

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c1e3ab8c1e76f4ae71ab23bcf5e8c2bf8bd3774e
Merge: 076515ba5042459c17eb5718483ed09c9e567f5d 1e5c69836d4d0b6dcaef8fc187e6bf2841eb57f6
Author: NeilBrown <neilb at suse.de>
Date:   Wed Dec 30 13:42:37 2009 +1100

    Merge branch 'master' of git://github.com/djbw/mdadm

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=076515ba5042459c17eb5718483ed09c9e567f5d
Author: NeilBrown <neilb at suse.de>
Date:   Wed Dec 30 13:42:27 2009 +1100

    DDF: fix incorrect header magic number.
    
    I was using the wrong magic number when creating an array.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1e5c69836d4d0b6dcaef8fc187e6bf2841eb57f6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 21 17:54:32 2009 -0700

    imsm: add support for checkpointing via 'curr_migr_unit'
    
    Unlike native md checkpointing some data about the geometry and type of
    the migration process is coded into curr_migr_unit.  Provide logic to
    convert between md/{resync_start|recovery_start} and imsm/curr_migr_unit.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2904b26f059c5d82d9d631c9987e92e3f9af498c
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 21 12:51:57 2009 -0700

    Support external metadata recovery-resume
    
    Minimal changes needed to permit reassembling partially recovered
    external metadata arrays.  The biggest logical change is that
    ->container_content() can now surface partially rebuilt members rather
    than omitting them from the disk list.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d23534e4646313a67296b295666d165a87bb2c92
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 21 11:26:21 2009 -0700

    Teach sysfs_add_disk() callers to use ->recovery_start versus 'insync' parameter
    
    Also fixup 'in_sync' versus 'insync' typo.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b7528a20cca58c973771d94d7d2b8ef74bcf582d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 21 10:23:26 2009 -0700

    Introduce MaxSector
    
    Replace occurrences of ~0ULL to make it clear we are talking about maximal
    resync/recovery position.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e1516be1db121e6f462b41a739106e33461a733a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 21 10:06:14 2009 -0700

    Add scaffolding for handling md/dev-XXX/recovery_start
    
    Prepare the code to handle saving a recovery checkpoint.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b7941fd68de046be58de4d53fe08925fdb9008f0
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 14 12:57:55 2009 -0700

    mdmon: cleanup resync_start
    
    We don't need to sprinkle reads of this attribute all over the place,
    just once at the entry of read_and_act().  Also, the mdinfo structure
    for the array already has a 'resync_start' member, so just reuse that.
    Finally, rename get_resync_start() to read_resync_start to make it
    consistent with the other sysfs accessors in monitor.c.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=071cfc42580673b149140339a862f90399dc00b5
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Dec 12 14:10:01 2009 -0700

    mdmon: cleanup manage_member() leak
    
    free() the results of activate_spare().
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8655a7b19477c22c4721ff6c35e0f6dfc5fa403b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Dec 12 13:57:28 2009 -0700

    imsm: cleanup print_imsm_dev()
    
    When printing the migration state there is no need to print "migrating".
    The fact that the state is non-idle should be enough indication.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1f0769d76801f928400f5626c6581873adaf7002
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Dec 12 13:57:28 2009 -0700

    util: fix devnum2devname for devnum == 0
    
    devnum 0 is md0 no md_d-1
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ecf408e9149dbd6ef61fdcbc92c5816c0eb7fc84
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Dec 12 13:57:25 2009 -0700

    imsm: fix thunderdome segfault
    
    disk_list_get() can return NULL if:
    1/ A formerly missing disk is re-added
    2/ The original array has not been rebuilt, so the family number of the
       missing disk still matches
    3/ The metadata record of the in-sync disks are read before the missing
       disk
    
    This will result in the missing disk not adding its own serial number to
    the disk_list, only its truncated value will be present.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ac6449bee9b40b0e8131005dc0cbe2d91a070ae2
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Dec 10 15:03:34 2009 -0700

    imsm: fix spare promotion
    
    When associating a spare take on the target's metadata version number to
    satisfy future compare_super checks.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6592ce37ee6f32b4886dfca33811c5a0403ed1b6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Dec 10 15:03:31 2009 -0700

    imsm: honor orom constraints for auto-layout
    
    Factor out the orom checking bits to validate_geometry_imsm_orom() and
    share it between validate_geometry_imsm_volume() and the entry path to
    reserve_space().
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=dd9bb2fbed335f69225ea1a3514bd27422288a18
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    imsm: prune dead code in validate_geometry_imsm
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=33a6535d00eff4475a1557f3d9124e362a74ad28
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix required to enable RAID arrays on SAS disks.
    
    The patch increases the capacity of buffers used to store
    sysfs path names. Originally the buffers were too small to
    hold the canonical representation of sysfs path (in case
    of a SAS device, especially a device installed behind an
    expander).
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Reviewed-by: Andre Noll <maan at systemlinux.org>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=922f66a935df8e6b3b66073a89c47c68c2e8cbe3
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix for resource leak on error path.
    
    Make sure opened file descriptors are cleaned up
    in the exit path when error occured.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5dbb8c8d765cb5ac17a4778b0e60d9d076593380
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix for buffer overflow defect.
    
    Array index of 'path' may be out of bounds. Array
    'path' of size 256 may use index value(s) 0..284.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=37f0e1e025ab4c31f28da0240f15fa86beaf258a
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix for buffer overflow error.
    
    Array index of 'device' may be out of bounds. Array 'device'
    of size 40 may use index value(s) 0..43.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=389508223e22807e7fb42ada4ad9d61416cc7afd
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix for memory leak defect.
    
    Possible memory leak. Dynamic memory stored in 'dev' and 'dev' allocated
    through function 'malloc' can be lost on exit path.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1602d52c99aff727440e1015411c6566736aaf7f
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix for memory leak defect.
    
    Possible memory leak. Dynamic memory stored in 'sra' allocated through
    function 'sysfs_read' at line 2484 can be lost at lines 2491, 2560 and
    2571.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e207da2f1b16470429d621ee47938e3215844caa
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix for memory leak defect.
    
    Dynamic memory stored in 'devnum2devname(st->container_dev)' allocated
    through function 'devnum2devname' at line 1274 is lost at line 1278.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4e5e717d72453bed761f561f24393d95d1817352
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix for NULL pointer dereference defect.
    
    Pointer 'c' returned from call to function 'strchr' at line 954 may
    be NULL and will be dereferenced at line 955.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d362da3dfef78f016690e677052b20a163e65236
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:40 2009 -0700

    Fix for NULL pointer dereference defect.
    
    Pointer 'disk' returned from call to function '_get_imsm_disk' at line
    700 may be NULL and will be dereferenced at line 710.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4e9d21862d0fbea7e028ff3a48a0b734440e6015
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:39 2009 -0700

    Fix for NULL pointer dereference defect.
    
    Pointer 'st' returned from call to function 'malloc' at line 320 may
    be NULL and it will be dereferenced at line 321.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c3ca5f60282b263808dff6b0b77538d2207c3568
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Dec 10 12:03:39 2009 -0700

    imsm: no need to report the component device name from container_content
    
    sysfs_add_disk() regenerates the name from major:minor, so we can drop a
    strcpy that the static analysis checker does not like.
    
    Reported-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7a6ecd55444b703050d3655eb04a22656e37488b
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:39 2009 -0700

    Fix for buffer overflow defect.
    
    Buffer overflow, array index of 'nm' may be out of bounds.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=791b666ae864cbd6f6c4513859afeb5fc624d02f
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:39 2009 -0700

    Fix for NULL pointer dereference.
    
    Pointers '_dev' and '_disk' returned from call to function '_get_imsm_dev'
    and '_get_imsm_disk' may be NULL and will be dereferenced at lines
    2933 and 2934, respectively.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d10d56feb88ef8a625ec39e04d7c8b711bf08870
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:39 2009 -0700

    Fix for NULL pointer dereference.
    
    Suspicious dereference of pointer 'super' before NULL check at
    line 3429.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=20cbe8d2bad9277605b6e51886929a0c00518d37
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:39 2009 -0700

    Fix for memory and resource leak.
    
    Make sure opened file descriptor is cleaned up on exit
    path. Also make sure allocated memory for 'sra' is released
    on exit path, too.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0fbd635caa86a027dbe88c4739dc00a27e29135e
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 12:03:37 2009 -0700

    Fix for possible NULL pointer dereference.
    
    Pointer 'this' returned from call to function 'malloc' at line 3795
    may be NULL and will be dereferenced at line 3796.
    
    Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5a1920f2c26719d825521cfe6a2b78f4ff6eed99
Author: Artur Wojcik <artur.wojcik at intel.com>
Date:   Thu Dec 10 11:52:23 2009 -0700

    Fix for buffer overflow defect in 'link'.
    
    Potential buffer overflow of 'link' caused by user input may occur,
    due to non null-terminated string 'link'.
    
    Signed-off-by: Artur Wojcik <artur.wojcik at intel.com>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5c64fcb5358953883ae6b72e584bf7dbbae2b71f
Author: NeilBrown <neilb at suse.de>
Date:   Tue Dec 8 17:26:31 2009 +1100

    Don't attempt a re-add if the device is marked as faulty.
    
    If a device is marked as faulty, then a re-add will cause it to be
    added as a faulty drive, which is not what it wanted.
    So just refuse to try to re-add a device which is marked 'faulty'.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=034b203a4754da7615d7b16bafeabfc4115dabea
Author: Trela, Maciej <Maciej.Trela at intel.com>
Date:   Tue Dec 8 16:07:47 2009 +1100

    Check partition tables when creating array.
    
    When creating an array, check if the devices have partition
    tables and print a warning if the table or the partitions might be
    destroyed by array creation.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a7dd165b4ea5c3db8dd05f4594e8dea783296ae3
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Dec 1 16:04:06 2009 -0700

    imsm: catch attempt to auto-layout zero-length arrays
    
    When -z is omitted reserve_space() looks to satisfy a zero length
    allocation which lo and behold is equal to the amount of free space on a
    full disk.  So, catch maxsize == 0 and simplify the return value from
    merge_extents() to always equal amount of free space (no benefit to
    having a special case ~0ULL == error).
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f98841b3852ceb7fce56a6f818236a4af9b5a00a
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 26 16:28:35 2009 +1100

    Grow: be more careful when using array.size
    
    As array.size is 32bit we need to prefer the 'component_size'
    read from sysfs when that is available.
    Grow wasn't always suitably careful.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2ed4f75388f99968be58097941a9704f6e42d701
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 26 14:19:26 2009 +1100

    Grow: avoid truncation error when checking size of array.
    
    array.size is only 32bit so it is not safe to multiply it
    up before casting to (long long).
    Actually, we shouldn't be using array.size here at all, but that
    will get fixed in a subsequent patch.
    
    Reported-by: Andrew Burgess <aab at cichlid.com>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9277cc7752ae6eb4b10dff7b5fc9ec75d3d52b66
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 24 16:32:01 2009 +1100

    Various fixes for --kill
    
    - When --kill-superblock is used with --metadata, find every
      different superblock if there are several and kill them all.
    - When creating a new array, kill off any old metadata.  The code
      to do this was already present but has become broken over time.
    
    Signed-off-by: NeilBrown <neilb at suse.de>




More information about the pkg-mdadm-commits mailing list