New commits on branch fixes/udev-blkid

Martin F. Krafft madduck at alioth.debian.org
Fri May 28 11:20:07 UTC 2010


URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=67fab4ce1f176426d6517bd95939a0eea2430ce9
Merge: f7d5444e9fe2d7cbcc6c21297a4edd87cc16a37c 4460f8f7c344a0e8c8d454edcaf392e85912c76e
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 27 09:29:31 2010 +0200

    Merge commit 'refs/top-bases/fixes/udev-blkid' into fixes/udev-blkid

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4460f8f7c344a0e8c8d454edcaf392e85912c76e
Author: NeilBrown <neilb at suse.de>
Date:   Tue May 18 12:31:29 2010 +1000

    Monitor: don't report the disappearance of a faulty device as SpareActive.
    
    Normally Monitor doesn't see faulty devices in active slots - they get
    moved away too quickly.
    But if it does, it reports the "faulty device disappeared" event (when
    it finally does get moved away) as SpareActive due to insufficient
    checking.
    
    So add a better check.
    
    Reported-by:  Pierre Vignéras <pierre at vigneras.name>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c03ef02d92e4b2a7397f7247ea5a25d932a1a889
Author: NeilBrown <neilb at suse.de>
Date:   Tue May 18 12:29:28 2010 +1000

    Grow: move error message closer to error cause.
    
    A recent change move the sysfs_read call away from the check that it
    succeeded.  This patch moves the check back next to the sysfs_read
    call.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=200871adf9e15d5ad985f28c349fd89c386ef48a
Author: NeilBrown <neilb at suse.de>
Date:   Thu Apr 29 16:14:30 2010 +1000

    Grow: avoid overflow of chunk sizes.
    
    Chunks aren't particularly big, but when you could them in bytes
    and multiply them together (as we do for calculating the backup
    size for 'grow') they can overflow a 32bit int.
    
    So group the division by 512 more closely with the
    chunk size so were would need 30Meg chunks to come close to
    overflowing 32bits.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=691c6ee1b6bb77bc44a5474d856771b0aec9882d
Author: NeilBrown <neilb at suse.de>
Date:   Thu Apr 29 16:09:59 2010 +1000

    IMSM/DDF: don't recognised these metadata on partitions.
    
    These metadata are not expected on partitions, and they have
    no way of differentiation whether which is correct if they
    are found both on the device and on the last partition.
    
    So if the device is a partition, refuse to read the metadata.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4eb269706f403d2424166683688f0a41d893c1c3
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Apr 19 15:28:07 2010 +1000

    Create: cleanup after failed create in duplicated array member case
    
    mdadm prevents creation when device names are duplicated on the command
    line, but leaves the partially created array intact.  Detect this case
    in the error code from add_to_super() and cleanup the partially created
    array.  The imsm handler is updated to report this conflict in
    add_to_super_imsm_volume().
    
    Note that since neither mdmon, nor userspace for that matter, ever saw an
    active array we only need to perform a subset of the cleanup actions.
    So call ioctl(STOP_ARRAY) directly and arrange for Create() to cleanup
    the map file rather than calling Manage_runstop().
    
    Reported-by: Krzysztof Wojcik <krzysztof.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=c824e918980e46aa8dba5d806304877444837054
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Apr 14 11:53:56 2010 -0700

    Fixup default definitions of VAR_RUN and ALT_RUN
    
    I suspect commit c132678b wanted VAR_RUN and ALT_RUN to be suffixed by
    '/mdadm' to match the defaults in mdadm.h.
    
    Cc: Luca Berra <bluca at comedia.it>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=94fcb80a8e0c6311636b2ee689a6ac5b7125afe6
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>

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

    Don't attempt to create or read bitmaps where the metadata doesn't support it.
    
    In particular, if the relevant bitmap method is NULL, don't try to
    call it, print an error instead.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

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

    Merge branch 'HEAD'; commit 'a4b93c9ce4f15217afb8'

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=7bf59f5c16d928d3826fdf0c406d1aac5775e78b
Author: Doug Ledford <dledford at redhat.com>
Date:   Wed Mar 17 09:28:07 2010 -0400

    Only signal a udev change event if we actually write a mapfile in RebuildMap
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e259df4e63f553c1271fa7d7612c110d2518e572
Author: Doug Ledford <dledford at redhat.com>
Date:   Wed Mar 17 10:52:22 2010 -0400

    mapfile: if we putting the mapfile in a custom location via ALT_RUN, allow
    a custom filename too.
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=435b90e7d41a17f35a984112cace471c975906f4
Author: Doug Ledford <dledford at redhat.com>
Date:   Tue Mar 16 23:00:11 2010 -0400

    Create directory to contain mapfile (Assuming parent exists and
    filesystem is writable).
    This particularly keeps udev happy if VAR_RUN is set to /dev/md.
    
    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=86983cce34645efb2b270a737d573e01eeee96e5
Author: NeilBrown <neilb at suse.de>
Date:   Wed Mar 24 09:07:02 2010 +1100

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=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=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=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=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>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=40bc78f5cd292d90917cb0a8c177498a516494c3
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 19 16:10:58 2009 +1100

    Release mdadm-3.1.1
    
    bugfix over 3.1, but changes to some significant defaults.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c588115aa58e0311f71a78b2c48928affcc17fbc
Merge: cd77ac4eafb0460ff6229e9a8dd732f2c4dd42c5 5bac0443e0223bb8668744a1f191f3f14eb0b89c
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 19 16:10:07 2009 +1100

    Merge branch 'master' into devel-3.1

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

    Assemble: fix testing of 'verbose' flag.
    
    The 'verbose' flag can be negative, meaning 'quiet'.
    So never check for != 0.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

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

    Create: warn when creating a raid1 using default metadata.
    
    As a some/most bootloaders don't understand md metadata, it might
    be difficult to boot off an array with the default 1.0 metadata.
    So if this is used for a RAID1, ask for confirmation.
    
    Signed-Off-By: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=751fd6c093815e10b2e0d56a920d8ee09ac01c58
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 17 13:15:34 2009 +1100

    Don't silently map --re-add to --add
    
    As --add can destroy important data on a disk, and
    --re-add is not suppose to, it is wrong to silently
    try --add if --re-add fails.
    So print a message and abort instead.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b42f577a0dbe0b232600478f4a5068b2f63a2684
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 17 13:15:34 2009 +1100

    Improve error messages when metadata handler does not support request.
    
    ->validate_geometry is called to validate overall parameters,
    and to validate each individual device.
    If it ever fails, it needs to report the reason, as common code
    cannot possible know.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b8ab2a50aba72c7316d92d0fb414167844673136
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 17 13:15:34 2009 +1100

    Set default bitmap-chunksize for internal bitmaps to at least 64Meg
    
    A small bitmap-chunksize hurts performance without helping
    resync speed much - particularly on internal bitmaps.
    
    So set the default to at least 64Meg.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ff94fb86fd22842c06e8fad08c27a4e365d7834a
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 17 13:15:33 2009 +1100

    Grow: various fixes to recent breakages.
    
    - I forgot to write the send backup-super-block on spares.
    - I wasn't adding the data_offset to an offset
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7d5c3964ccfaace123f7b75e15d38c2650e013d8
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 17 13:15:32 2009 +1100

    Change default metadata from 0.90 to 1.1
    
    1.1 is more flexible in a number of ways and is safer.
    0.90 is still fully supported.
    1.0 should possibly be used for RAID1 arrays that you
    want to boot off, depending on your boot loader.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5f175898dedb2bb2635d4d1dcb2afa8c420d5eae
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 17 13:08:55 2009 +1100

    Increase default chunk size to 512K
    
    This seems more appropriate for current (and recent) model drives than
    64K.
    64K is still the default for '--build' as changing that could corrupt
    data.
    64K is also the default rounding for 'linear' on kernels older than
    2.6.16.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

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

    Replace all relevant occurrences of -4 with LEVEL_MULTIPATH
    
    Also -1 -> LEVEL_LINEAR.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=672ca1b7272c69ea3055aeb746a77b8408e5f3ed
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 17 12:31:10 2009 +1100

    Assemble/super0: allow non-in-sync devices to be assembled without complaint.
    
    Other metadata formats already did not worry about whether 'sync' was
    missing or not.  super0 needs that now, but only for 0.91 metadata
    that is undergoing reshape.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f22385f9826bcf35c8055c3b89b731f5760a46c5
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 17 12:30:54 2009 +1100

    Assemble: include ACTIVE but not  in-sync devices as non-spares.
    
    Previously such things did not exist: ACTIVE and SYNC were either both
    set or both clear.   Recent changes with reshape means that a device
    can be ACTIVE but not yet fully in-sync, so they need to be handled
    and included in the array as active devices.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=14e5b4d72b4db55e688581d98ec47131554f747c
Author: NeilBrown <neilb at suse.de>
Date:   Mon Nov 16 11:06:44 2009 +1100

    Grow: data_offset is in sectors, offsets[] is in bytes - convert
    
    Another missed sectors->bytes conversion.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9ce510be9c71bae002a3b68ad138b164c908150a
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 6 17:26:47 2009 +1100

    Grow: do not allow size changes with other changes.
    
    A change the reduces the size of an array always happens
    before any other change.  So it can cause data to be lost.
    By themselves these changes are reversible.  But once another
    change has started, the data would be permanently lost.
    So recommend data integrity be checked between a size change
    and any other change.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b5ea446ae7c5548b9f3d88a474dc641a6910ddaf
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 6 15:22:14 2009 +1100

    Grow: goto release rather than just return
    
    otherwise we exit with the array frozen.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d2505cff5a3ca88de4fc7030fca40a8e069b18f6
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 6 15:19:39 2009 +1100

    Grow: restrict to 2.6.32
    
    2.6.31 has a bug which can lead to unsafe reshaping.
    So only allow a reshape with 2.6.32.
    When the required fixed get into 2.6.31.y, this can be relaxed
    slightly
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1b13faf757bcc352e7b60d07dc93c0554e0c1b57
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 6 14:48:10 2009 +1100

    Grow: use large block count and make sure stripe cache can hold it.
    
    The bigger the backup is, the fast it goes to some extend.
    
    16Meg is fairly arbitrary
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e380d3be42706ed455baf7b03c05d07f13368951
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 6 14:18:49 2009 +1100

    Grow: get component_size before using it.
    
    We were using ->component_size while it hadn't been set.
    This effectively meant that 'blocks' wasn't multiplied by
    16 and reshape was even slower than it should have been.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d44453876eefa0aa4c6d2dc224cde3f501b051ff
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 6 13:56:05 2009 +1100

    Grow: handle array going degraded during reshape.
    
    If an array goes degraded during reshape, we need to
    adjust the devices we read from so as not to back up
    stale data.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=92dcdf7c01f142aec85deff9f002e59951952978
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 6 13:38:43 2009 +1100

    Grow: restore backup to proper location.
    
    The 'arraystart' is in sectors while restore_stripes requires
    bytes, so we need a conversion.
    
    Without this, backups get restored to the wrong offset.
    
    Reported-by: "KueiHuan Chen" <kueihuan.chen at gmail.com>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5bac0443e0223bb8668744a1f191f3f14eb0b89c
Author: Marco d'Itri <md at linux.it>
Date:   Thu Oct 29 10:14:43 2009 +1100

    vol_id was removed by the udev upstream maintainer in May 2009.
    
    One should use
      /sbin/blkid -o udev -p ...
    (from util-linux >> 2.16) instead of
      vol_id --export ...
    
    Author: Marco d'Itri <md at linux.it>
    Bug-Debian: http://bugs.debian.org/541884
    Reviewed-by: martin f. krafft <madduck at debian.org>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d1302dd801ffa4ad8b65bee02cefa0459b0860e3
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 29 10:11:01 2009 +1100

    Remove bogus warnings from man page.
    
    LANG=C man --warnings -l mdadm.8 > /dev/null
    
    complains that '.XX' is an invalid macro.
    This is not correct.  The sequence
    
       .ig XX
       anything can go here
       .XX
    
    is correct and is ignored (see 'info groff' and the 'ig' index
    entry).
    
    However the same can be achieved with
       .ig
       anything can go there
       ..
    
    and this produces no warnings, so use that instead.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=dab54dcb049952be8fa7b1058a4557671c73be02
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 29 10:02:24 2009 +1100

    Detail: report new-layout for RAID6 arrays
    
    We were only reporting it for RAID5 and RAID10.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7f0066ba713a8f3ddf093c038e009fde74d673a5
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 22 14:07:05 2009 +1100

    Release 3.1
    
    New functionality in --grow.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d6d5656bd5a05b992188eaf154c2d76a25481c06
Merge: 4a997737a14f580e3addfa1db6be005c37e7c0f4 d28c1a73838ad808fcf6f584f83e357d2f1b3631
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 22 13:57:54 2009 +1100

    Merge branch 'master' into devel-3.1

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4a997737a14f580e3addfa1db6be005c37e7c0f4
Merge: 9739642288555dae607ee4aa0eec0e9245cecf74 0eb26465c0a14d707ca00f4f7bcdb67bde36f706
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 22 11:13:13 2009 +1100

    Merge branch 'master' into devel-3.1

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9739642288555dae607ee4aa0eec0e9245cecf74
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 22 10:42:06 2009 +1100

    Grow: update backup-metadata mtime every time we write it.
    
    Originally the backup-metadata was only written once at the
    start of a raid5 reshape that made the array bigger.  So we only
    set the mtime once.
    
    Now that we can be writing metadata continually during an in-place
    reshape, we need to update the mtime more often.
    
    Also, allow the metadata mtime to be slightly in advance of the
    array mtime.  Normally the difference will be less than a second,
    so 10 minutes should be plenty.  This guards against an old backup
    file being used to restart an array.  but starting two reshapes in the
    10 minutes is sufficiently unlikely, and the possibility of an
    accident is already sufficiently small, that 10 minutes is probably
    fine.
    
    Thanks to Guy Martin <gmsoft at tuxicoman.be> for discovering and
    reporting that .mtime wasn't being updated properly.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=eb3929a47f547f3890b2d5d3891941e96d7f73eb
Author: NeilBrown <neilb at suse.de>
Date:   Tue Oct 20 16:53:43 2009 +1100

    Compile fixes for mdassemble
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=24d40069d7361c53116659a4000b1c6970cba1fb
Author: NeilBrown <neilb at suse.de>
Date:   Tue Oct 20 16:36:03 2009 +1100

    Grow: reject raid-disks reduction in RAID5 etc before 2.6.32
    
    2.6.31 has some bugs with restarting a RAID5 reduction, so
    refuse to try unless at least 2.6.32.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ea0ebe96859ce53230ac28c25e3ab2a8ccd3aa3b
Author: NeilBrown <neilb at suse.de>
Date:   Tue Oct 20 16:23:45 2009 +1100

    Assemble: print more verbose messages about restarting a reshape
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=22e305169f02253890da169b90678da48ffa5120
Author: NeilBrown <neilb at suse.de>
Date:   Tue Oct 20 15:36:49 2009 +1100

    Add missing 'continue' in Grow_restart.
    
    Thus we weren't checking the uuid properly.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6636f0efb3384b29ffb38da5e163b9f904e90b76
Author: NeilBrown <neilb at suse.de>
Date:   Fri Oct 16 17:57:28 2009 +1100

    tests/imsm:  allow for rounding of array size.
    
    IMSM rounds array size to a multiple of 1024K, so our tests must
    assume this.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ba6241244b010bcd1c47940357ee3a369b0dcac4
Author: NeilBrown <neilb at suse.de>
Date:   Fri Oct 16 17:50:07 2009 +1100

    Test different r5/r6 layouts.
    
    Make sure kernel and restripe agree on all different layouts.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1eac9f8454a9a057edf4bf00165728e5fbb1d8b1
Author: NeilBrown <neilb at suse.de>
Date:   Fri Oct 16 17:50:06 2009 +1100

    restripe: fix assignment of raid6 blocks for syndrome calculation.
    
    Particularly for the _6 style.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4180aa4d4e73eea810d51604e6e558a973cf1979
Author: NeilBrown <neilb at suse.de>
Date:   Fri Oct 16 17:43:54 2009 +1100

    Handle negative delta_disks in super0 and super1.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=82f2d6abf0c1614cf96ff3666e42daf71695afbf
Author: NeilBrown <neilb at suse.de>
Date:   Fri Oct 16 17:43:51 2009 +1100

    Grow_restart to handle reducing number of devices in an array.
    
    FIXME this is wrong . what direction does reshape_position move?
    
    If the device count in an array is shrinking, the critical
    region is different so the tests need to be different when
    restarting.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=eba7152931708db1d3049030e0a1ffa4ed174373
Author: NeilBrown <neilb at suse.de>
Date:   Fri Oct 16 17:02:34 2009 +1100

    Grow: don't make 'blocks' too large during in-place reshape.
    
    On small (test) arrays, multiplying by 16 can make the 'chunk' size
    larger than half the array, which is a problem.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=521f349cb0b2549fc0b9f1a8141f0615841634da
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 12 17:00:23 2009 +1100

    restripe: fix compile warning.
    
    Just a type cast...
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=471ac41e4690a9138520ec25f58b898cc34ba2c3
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 12 16:57:55 2009 +1100

    test changelevel: add tests for changing degraded arrays.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cc50ccdc2960d9feb322002f6ebfd8fba950b79f
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 12 16:57:22 2009 +1100

    restripe : various fixed for RAID6 2-failure recovery.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=487e48afabe36ff71c8e2a177880daaf4a24d089
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 12 16:57:18 2009 +1100

    Test level changes and related reshaping.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=725cac4c569c645415fd78f08fe39a8afdffec1e
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 12 16:55:19 2009 +1100

    Grow: ignore error from final wait_backup
    
    The last time wait_backup is called, it might see reshape
    finish and so return an error indicator.
    But this is not an error, and we must go ahead and prepare
    the array for full access.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5fdf37e35783a00ded31a7287785451134c9ca26
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 12 16:55:12 2009 +1100

    Grow: make sure bsb2 is properly aligned
    
    We do O_DIRECT io in bsb2, so it must be aligned
    properly.  Easiest if it is static.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=249887eb76d984d7a0053dfc79cd917880e883de
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 12 16:55:05 2009 +1100

    testreshape5 - add tests for RAID6
    
    .. to make sure our raid6 calculations are working.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ca4f89a3b76187dcd7ca897035a8e92ab67b252d
Merge: e38cc2d87b319572fe7ff08be5657f563b1ef9e7 2b9aa337af7291d3f141322da96c9f667c99d53c
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 1 16:58:40 2009 +1000

    Merge branch 'master' into devel-3.1
    
    Conflicts:
    	mdadm.8

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e38cc2d87b319572fe7ff08be5657f563b1ef9e7
Author: NeilBrown <neilb at suse.de>
Date:   Fri Sep 25 17:23:33 2009 +1000

    Fix raid6 error recovery in 'restripe' code.
    
    Thanks to Matthias Urlichs for discovering and reporting this.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f24e2d6c06be176ad35ecf59b8cffd7ea2535ba2
Author: NeilBrown <neilb at suse.de>
Date:   Thu Aug 13 11:41:40 2009 +1000

    mdadm.8 : update documentation for new --grow modes

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e9e43ec36756c50a5dabf6db52d9bebbccaaa72f
Author: NeilBrown <neilb at suse.de>
Date:   Thu Aug 13 11:12:54 2009 +1000

    Grow: support restart of new migrations.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7236ee7ad4a15b0d800cfc1ccbcee78158a05ada
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 11 13:02:49 2009 +1000

    Handle extra 'grow' variations.
    
    UNFINISHED

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a628848379c07c79485a49c7f0c684ece02ae3b7
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jul 14 15:12:30 2009 +1000

    restripe: support saving when not all devices are present.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fe77a154b1be42c65f15f0dad363f100de923489
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jul 14 15:12:29 2009 +1000

    Examine/Detail:  report raid6 layout
    
    Somehow this was missing before...
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5f4fc0e1916c47c1b172801f53362e50d32cd4dc
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jul 14 14:32:30 2009 +1000

    Grow:  --size improvements.
    
    1/ allow --size to be given with 'G' or 'T' suffix.
    2/ allow size to exceed 32bits, and in that case write through sysfs.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=19678e536d5b7aba8b721a3065f2550b79ddd208
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jul 14 12:13:29 2009 +1000

    Grow: pass layout as a string rather than a number.
    
    This allows the layout to be parsed after the current level of the
    array is know, so that the level doesn't need to be given (otherwise
    pointlessly) on the command line.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d823a6c87225d0c7f96443013798ed4dacf51ff6
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jul 14 12:11:31 2009 +1000

    Remove Manage_reconfing in favour of Grow_reshape
    
    Bother Manage_reconfig and Grow_reshape provide for changing
    the 'layout' of a faulty array.  This is no necessary.
    So discard Manage_reconfig and just use Grow_reshape
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4a06e2c270948bdcfaa447c8a0e80abb0978b5c4
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jul 14 11:29:20 2009 +1000

    main: factor out code to parse layout for raid10 and faulty.
    
    This will soon be called from multiple places.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=84e11361aa37c92c3c016095e5db7f4fc434ac18
Author: NeilBrown <neilb at suse.de>
Date:   Mon Jul 13 15:00:02 2009 +1000

    Grow:  support --array-size changes
    
    With 2.6.30 it is possible to tell the md driver to clip an array to a
    size smaller than the real size of the array.  This option gives
    access to that feature.  The size change does not persist
    across restarts.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e0d95aac9626badd1b849ce4f99f9c406d55beae
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 25 10:52:31 2009 +1000

    restripe: add support for new layouts including DDF
    
    md supports new raid6 layouts to support conversion to and from
    raid5 and well as DDF.  Make sure restripe handles those, including
    getting the order right for Q-syndrome calculation.
    
    Signed-off-by: NeilBrown <neilb at suse.de>




More information about the pkg-mdadm-commits mailing list