New commits on branch build

Martin F. Krafft madduck at alioth.debian.org
Mon Jul 20 14:49:22 UTC 2009


URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=dbea050299f0b376d51f3f8092ed772b78befcba
Merge: a72fd33b4f8f7e350e6e3fddadda7e5b11cb7a6a 8734004b79f08909a10eca076070897afd306b21
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 16:48:46 2009 +0200

    Merge branch 'master' into build
    
    Conflicts:
    	.gitignore

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8734004b79f08909a10eca076070897afd306b21
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 16:20:57 2009 +0200

    Bumped Standard-Version to 3.8.2; no changes necessary.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a760656e486805bdf8f46082fe7908eac894a1df
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 16:16:15 2009 +0200

    increment changelog date, prepare for release

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c91c98fd5d6370282342350e97bd002b67aa8b1b
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 16:14:49 2009 +0200

    document lack of patches to fix quilt-build-dep-but-no-series-file

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a2927e8a4357f916fe6476570e561095f8ebae8c
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 16:13:53 2009 +0200

    remove announce files no longer in upstream

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=50971ade8422bc741e7b32a97ffd558823e9d200
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 16:03:01 2009 +0200

    remove patch needed only for inofficial build

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7de7bfbaf0a829689d82476106d1a8055f22fb66
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 16:02:22 2009 +0200

    remove patch obsoleted by ac7de9d

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6dbed99dfc1fae4d1c5947419f9e9fd6096bfd69
Merge: 10898cb10b83a01a9b7ce63eb7a4aaa23559570e 21532262b68f218f17c826beb3a3273bee57aa7d
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 15:57:01 2009 +0200

    Merge branch 'deb/conffile-location'

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=21532262b68f218f17c826beb3a3273bee57aa7d
Merge: 7a64a15bb0bf152508ad559c77375b83b78f3620 6e92d480f765dc22a5abaa5658ad603353648c1c
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 15:56:22 2009 +0200

    merge 3.0 branch

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=10898cb10b83a01a9b7ce63eb7a4aaa23559570e
Author: Helge Kreutzmann <debian at helgefjell.de>
Date:   Mon Jul 20 15:50:22 2009 +0200

    Updated German translation due to typos and old spelling rules
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2bae7a3745f1dad030d420461bcc9279e9a99c0b
Author: Frédéric Brière <fbriere at fbriere.net>
Date:   Thu Jul 16 22:56:25 2009 -0400

    Adjusting logcheck rules for CONFIG_PRINTK_TIME
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b190246e87627e624821542ba340fb4780e0ed6a
Merge: 10802ab98243de8463be354cce22068046278e16 6e92d480f765dc22a5abaa5658ad603353648c1c
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 15:44:15 2009 +0200

    Merge branch 'mdadm-3.0'
    
    Conflicts:
    	inventory

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=10802ab98243de8463be354cce22068046278e16
Merge: 725ef18c4ca5e77a018f9bd726c189494f0c517a 7b0e1cec677583cd35f1c10d3d053e9ef3168eeb
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 15:43:15 2009 +0200

    merge experimental branch into master for unstable upload

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=725ef18c4ca5e77a018f9bd726c189494f0c517a
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 15:12:25 2009 +0200

    document presubj change in changelog

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9e875e0bc6fa0459ddb1d163c5dd8156d419a763
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 15:11:26 2009 +0200

    remove duplicate FAQ item

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7e7414760afa42a10eac8f77e3f6f79c207849ec
Author: martin f. krafft <madduck at debian.org>
Date:   Mon Jul 20 15:06:52 2009 +0200

    add note about rootdelay to FAQ and presubj

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6e92d480f765dc22a5abaa5658ad603353648c1c
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jun 2 15:37:56 2009 +1000

    Release mdadm-3.0
    
     - remove lot of old 'ANNOUNCE' files
     - trim changelog
     - update version numbers
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0bd54da30eebdd8bd7fd17ea438638e3f7840a1c
Merge: 3b435195fc34ba447c8ca8fa2f90cd6d5ad88cdb 1124b3cf29dad544e8a5aa01e5f9e94e7be1765a
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jun 2 15:28:41 2009 +1000

    Merge branch 'master' of git://github.com/djbw/mdadm into devel-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3b435195fc34ba447c8ca8fa2f90cd6d5ad88cdb
Merge: 38a07ed61e58320e18a6c25ab9da4d749d43bdc5 c7b474474c793e9a82bd0d84868fdf7367c89696
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jun 2 15:28:36 2009 +1000

    Merge branch 'master' into devel-3.0
    
    Conflicts:
    	super0.c
    	super1.c

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=38a07ed61e58320e18a6c25ab9da4d749d43bdc5
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jun 2 15:27:16 2009 +1000

    Move WaitClean from Monitor.c to sysfs.c
    
    That way mdmon doesn't need to include Monitor.o
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e736b62389a230cc427e7cf352539d1afab8f469
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jun 2 14:35:45 2009 +1000

    Update copyright dates and remove references to @cse.unsw.edu.au
    
    Also removed 'paper' addresses.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ddc7201f965ce3192b8a96f65609fe8279148c2e
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jun 2 14:35:44 2009 +1000

    Monitor:  reduce default poll interval if mdstat is pollable.
    
    Since 2.6.16, mdstat responds to select/poll.
    So in that case, increase the default poll interval to about 15
    minutes.
    This ensures that the background load is insignificant.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4736b5dc7740ff38064c33b2460c1ee5c9aafa82
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jun 2 14:24:58 2009 +1000

    Monitor: don't get confused if utime is never set.
    
    externally managed arrays do not (currently) cause utime in
    GET_ARRAY_INFO to be updated.  So if it is zero, just assume the
    current time.
    This will cause GET_DISK_INFO to be called more often, but as we do
    the scan only every 60 seconds normally, a few extra syscalls isn't
    going to make a big difference.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e0fe762a63889495695b773ad63d329a526fa4ed
Author: NeilBrown <neilb at suse.de>
Date:   Tue Jun 2 14:06:05 2009 +1000

    mdadm.8: Man page updates
    
    General review and update of mdadm.8

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1124b3cf29dad544e8a5aa01e5f9e94e7be1765a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon May 18 10:02:58 2009 -0700

    imsm: kill "auto=" in brief_examine_super_imsm
    
    The auto parameter is obsolete after kernel version 2.6.28 as all arrays
    are partitionable via block device extended minor support.  Environments
    that requre the mdp style of array can always edit the configuration
    file to specify auto=mdp.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=81062a36abd28d2354036da398c2e090fa759198
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon May 18 09:58:55 2009 -0700

    imsm: fix num_domains
    
    The 'num_domains' field simply identifies the number of mirrors.  So it
    is 2 for a 2-disk raid1 or a 4-disk raid10.  The orom does not currently
    support more than 2 mirrors, but a three disk raid1 for example would
    increase num_domains to 3.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7b0e1cec677583cd35f1c10d3d053e9ef3168eeb
Author: martin f. krafft <madduck at debian.org>
Date:   Wed May 13 10:00:57 2009 +0200

    add faq item re unbootable system, rootdelay
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e6f22428f76e8b44980d157dbf34336369cba113
Author: martin f. krafft <madduck at debian.org>
Date:   Wed May 13 10:00:34 2009 +0200

    update info about partitionable arrays
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1c8f9d223b97c167436cff01e232a01e11e00720
Author: martin f. krafft <madduck at debian.org>
Date:   Wed May 13 10:00:57 2009 +0200

    add faq item re unbootable system, rootdelay
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=12f461709b23e1da44a661aac0534177bb1e6d29
Author: martin f. krafft <madduck at debian.org>
Date:   Wed May 13 10:00:34 2009 +0200

    update info about partitionable arrays
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c7b474474c793e9a82bd0d84868fdf7367c89696
Author: NeilBrown <neilb at suse.de>
Date:   Tue May 12 09:49:45 2009 +1000

    Monitor: support spare-group manipulation for 1.x metadata.
    
    The code for moving spares around a spare-group currently
    only works for 0.90 metadata.  Generalise it for 1.x metadata
    as well.
    
    Reported-by: "Garth Snyder" <garth at grsweb.us>
    Signed-off-by NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6957819fe61c0366565bfb2588982773ed010dfa
Author: NeilBrown <neilb at suse.de>
Date:   Tue May 12 09:49:06 2009 +1000

    Ignore leading zeros in version number information.
    
    --detail sometimes generates leading zero which are just noise.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=222a7bfd2ea1696f84fa2f98196f5bdd851ac548
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 16:33:29 2009 +1000

    Release mdadm-3.0-rc1

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8320878543bb5e49b5acb24fa919ff11be485c61
Merge: 9a40c32728dceb66bac603e96656223944b6c7d4 c9f39c1b9bafbd18ce3831c8da6865b21827fef3
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 16:05:41 2009 +1000

    Merge branch 'master' into devel-3.0
    
    Conflicts:
    	Build.c
    	mdadm.c
    	mdadm.h
    	super1.c

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9a40c32728dceb66bac603e96656223944b6c7d4
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:58:44 2009 +1000

    create_mddev: don't replace /dev/mdX with /dev/md/X
    
    If someone creates/assemble an array called "/dev/md0", don't force
    it to be "/dev/md/0".  Doing so isn't really necessary and it
    likely to confuse people.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=360b463696e89593645c0f094f0c39ba0fa65944
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:58:42 2009 +1000

    mapfile - when rebuilding, choose an appropriate name is none is found.
    
    When rebuilding the mapfile (mdadm -Ir), if not appropriate name is
    found in /dev/md/, try to find an appropriate name, either by looking
    in mdadm.conf or by using the name in the metadata.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2400e6eb21af93368824110d087708dc9c48f744
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:11 2009 +1000

    Incr: use devname_matches to when looking in mdadm.conf for bitmap file
    
    This is more likely to always do the right thing than a strcmp.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=60f8cb9b02af3c55708c44b40425f57282c8937c
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:11 2009 +1000

    mapfile - Fix off-by-one error in RebuildMap
    
    "mdadm -Ir" would get the path for md0 wrong because it
    went looking for mdp(-1) by mistake.
    
    Signed-off-by NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=13a3b65d5432ee941b9617670a79ef38363ccc7d
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:10 2009 +1000

    Fix printf compile warning.
    
    It always afters to cast big things to (unsigned long long) before
    printing as %llu - it seems there will always be one arch which
    has something to complain about ....
    
    Signed-off-by: NeilBrown <neilb at suse.de>

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

    Incremental: fix uninitialised variable.
    
    st2 might not be initialised at this point.  So use the
    more correct 'st'.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=339c2d6c5e45394ff903c347d410897651c4aee1
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:10 2009 +1000

    Incr: cope better with possibility that mp->path might be NULL
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8615dcff2865a01e17bb63cdbcc6064c3c1b424a
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:10 2009 +1000

    mapfile:  allow the path name to the device to be empty.
    
    Allowing an empty name and coping with it is less confusing
    than seeing "/empty" appear.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=70ef16dbcb875ad26f9d026715b6ab6f6bf4f16e
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:10 2009 +1000

    map_dev: prefer names in /dev/md/
    
    Rather than preferring non-standard names (of which there are
    many, like /dev/block/9:1), prefer names in /dev/md/ when finding
    the name of an md device.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=67732c393b84d457ebfd2f523e52fac8451b35c8
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:10 2009 +1000

    udev-md-raid.rules: use string_escape
    
    For safety, "MD_NAME" strings should be escaped in udev.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

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

    super1 - fix brief examine.
    
    We manage to lose some space here...
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=257c1dc27eedba22fce2b3f518eeaec57eafc3b7
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:10 2009 +1000

    man pages: note that --auto is largely deprecated and irrelevant.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7cdc0872342e8834f224132867ea88ee04e050bf
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:10 2009 +1000

    Be more consistent about keeping the host: prefix on array names.
    
    If an array name contains a "hostname:" prefix, then
    --assemble will tend to leave it there, while --incremental
    will strip it off (when chosing a device name during auto-assembly).
    
    Make this more consistent:  strip the name off if we decide that
    the name will be treated as 'local'.  Leave it on if it will be
    treated as 'foreign'.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5c4c9ab16d7db67c660570c354e9e75fb6e20ecc
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:47:10 2009 +1000

    config: enhance name matching in conf_get_ident.
    
    Use when searching mdadm.conf for a device, use more flexible
    matching that e.g. ignores leading /dev/md/ or /dev/
    
    As mdadm now accepts both "/dev/md/foo" and "foo" is many places as
    equivalent, they should compare as the same.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0ac91628b93b31636979b637c1ac7258064dea4e
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:46:46 2009 +1000

    Allow homehost to be largely ignored when assembling arrays.
    
    If mdadm.conf contains
       HOMEHOST <ignore>
    or commandline contains
       --homehost=<ignore>
    
    then the check that array metadata mentions the given homehost is
    replace by a check that the name recorded in the metadata is not
    already used by some other array mentioned in mdadm.conf.
    
    This allows more arrays to use their native name rather than having
    an _NN suffix added.
    
    This should only be used during boot time if all arrays required for
    normal boot are listed in mdadm.conf.
    
    If auto-assembly is used to find all array during boot, then the
    HOMEHOST feature should be used to ensure there is no room for
    confusion in choosing array names, and so it should not be set
    to <ignore>.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=603f24a05f48063a7239e323e2aeab497cb0feb6
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:21:43 2009 +1000

    util: fix test for text_version
    
    as text_version is a char array (not a pointer), testing the
    address against NULL is the wrong thing to do.  Test the
    content instead.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=05833051ee595c8d356a2a1ed61f7d9e6f4186ef
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:19:30 2009 +1000

    Assemble/Incr : minor tidy up of setting 'trustworthy'.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=db2d001cee64cd330cc2ab24ddefed48eb67fc7b
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:18:35 2009 +1000

    config: allow Array line to contain array name without /dev/md/ prefix.
    
    For consistency with --create and --assemble, allow the array name
    given in mdadm.conf to exclude the "/dev/md/" prefix.  So e.g.
    
      ARRAY home uuid=whatever
    
    is treated like
    
      ARRAY /dev/md/home uuid=whatever
    
    Also exclude names which create_mddev will reject.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

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

    Fix tests on ->container and ->member
    
    For container= and member= to be effective in an mdadm.conf line
    they must both be present.  So when checking for their absence we
    need container != NULL || member != NULL.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=061f2c6abd014c9f30ca2d784cb535e3e3452c65
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:18:20 2009 +1000

    Make --brief even briefer.
    
    Because ---examine --brief, or --detail --brief are
    often used to create mdadm.conf, and because people don't want to
    have to update their mdadm.conf unnecessarily, we don't want to
    include information that might change.
    And now that level changing is supported, that is almost everything
    but UUID.
    
    So move some more fields into the "Only print with --verbose" class.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9652457eea62c06f48df1035218cdcb6f756b74d
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:17:50 2009 +1000

    mdadm.8  general updates
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=31015d5798c214ff416ff6ef6e10351944661362
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:17:33 2009 +1000

    conf/assemble:  new config line "auto".
    
    The line 'auto' in mdadm.conf can be used to disable assembly
    of specific metadata types, or of all arrays.
    
    This does not affect assembly of arrays listed in mdadm.conf
    or on command line.
    
     auto -all
    
    will disable all auto-assembly.
    
     auto -ddf
    
    will cause mdadm to ignore ddf arrays that are not explicitly
    mentioned, and auto assemble anything else it finds.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=112cace627b02a7bc918e857cce03b2cc5fc3d52
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:17:05 2009 +1000

    config: support "ARRAY <ignore> ..." lines in mdadm.conf
    
    Sometimes we want to ensure particular arrays are never
    assembled automatically.  This might include an array made of
    devices that are shared between hosts.
    
    To support this, allow ARRAY lines in mdadm.conf to use the word
    "ignore" rather than a device name.  Arrays which match such lines
    are never automatically assembled (though they can still be assembled
    by explicitly giving identification information on the mdadm command
    line.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=745f72f61ab363dbc1c19fd00cc29edc42571f62
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:16:49 2009 +1000

    assemble:  support arrays created with --homehost=any
    
    If an array is created with --homehost=any, then --assemble and
    --incremental will treat it as being local to 'this' host, no matter
    what the name of this host is.
    
    This is useful for array that will be given unique names and be
    moved between machines.
    
    This needs to be documented.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d7ba0c55f07d24b51e6da1a5850d7164e9cf01d9
Author: NeilBrown <neilb at suse.de>
Date:   Mon May 11 15:16:47 2009 +1000

    create_dev - allow array names like mdX and /dev/mdX to appear 'numeric'
    
    When choosing the minor number to use with an array, we currently base
    the number of the 'name' stored in the metadata if that name is
    numeric.
    Extend that so that if it looks like a number md device name (/dev/md0
    or just md0 or even /dev/md/0), then we use the number at the end to
    suggest a minor number.
    
    The means that if someone creates and array with "--name md0" or even
    "--name /dev/md0" it will continue to do what they expect.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f60832d4b6585f951e46b602de1df5cbc77b97b6
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 8 11:20:26 2009 +0200

    fix upstream commit ID in changelog
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=eeed40cc2c9f2ba2eadd6d3fbb700827d68368f6
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 8 11:16:40 2009 +0200

    Bump --version output
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c43ed7279023bd2a1521dfa397f065211e7abbbc
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 8 11:12:05 2009 +0200

    Increase versioned build-dep on debhelper due to dh_lintian
    
    dh_lintian needs debhelper 6.0.7.
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6c40bd7fed43553d1fd54fda0e457e82ffe432a9
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 8 11:12:05 2009 +0200

    Increase versioned build-dep on debhelper due to dh_lintian
    
    dh_lintian needs debhelper 6.0.7.
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9c5d72a860723581cb0cb306531adb13ab14e5df
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 8 11:10:13 2009 +0200

    prevent double-compilation when calling build+binary
    
    Since the quilt 'patch' target was a dependency of build-stamp, the
    binaries were rebuilt when the binary target was invoked, even though
    the build target had previously run. Moving the patch dependency to the
    phone build target fixes that.
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=26aa636a90ffb57d608afc2f55ef8fa6ec3bdbf9
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 8 11:10:13 2009 +0200

    prevent double-compilation when calling build+binary
    
    Since the quilt 'patch' target was a dependency of build-stamp, the
    binaries were rebuilt when the binary target was invoked, even though
    the build target had previously run. Moving the patch dependency to the
    phone build target fixes that.
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=50f5025494542167473b9aa773afa7d44806c104
Author: martin f. krafft <madduck at debian.org>
Date:   Fri May 8 10:58:13 2009 +0200

    temporary patch to fix incremental.c compiling
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=485ce62a7ea5f6be16ca7d65d8d04de4034df6e2
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 7 12:50:50 2009 +0200

    correct install mode for presubj file
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e7468d574db56b0706c99ad07e92bb50436cb0a7
Author: martin f. krafft <madduck at debian.org>
Date:   Thu May 7 12:50:50 2009 +0200

    correct install mode for presubj file
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=475b72c6109a5ebaec4884283f111508d492515f
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 15:11:19 2009 +0200

    Add information about udev and device links in /dev 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=1b7ca8b54e53f4f573721d72a8981ef14ac771eb
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 15:11:19 2009 +0200

    Add information about udev and device links in /dev 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=ae5144740b7ad4bdd906b0ab0ab67868b5062525
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 13:34:34 2009 +0200

    Drop our own udev rules in favour of upstream's
    
    If /etc/udev/rules.d/65_mdadm.vol_id.rules has not been modified (md5sum
    check), it is automatically removed; else, a warning is emitted.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=388049ed6f5f76ac8e484dda8de80831ab66a8ab
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 13:28:41 2009 +0200

    switch to using dh_lintian
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bbcc06f9562c75cc70eb012e105be526867f26d3
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 13:26:34 2009 +0200

    switch to using upstream install method
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0367b1f52ae6cb9f2f5ee3f2b38fca7144ff2f53
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 12:07:30 2009 +0200

    drop gcc4.4 patches, which are in upstream

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9816f65676d22f741fd2e6053bff276a1da28547
Merge: 104c24eb5f8b501167e48dc57794d689ca0d78b9 2b907e4bfa8aa3093e07aa74a62e203aafca5ec0
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 13:46:19 2009 +0200

    Merge branch 'master' into debian/experimental
    
    Conflicts:
    	debian/changelog

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5291f1b98c8c69d49b91b15303ac33d32b0c57d4
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 13:28:41 2009 +0200

    switch to using dh_lintian
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=83d9ffe64dac9781b7e3ab7f8520bf72b74e1de2
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 13:26:34 2009 +0200

    switch to using upstream install method
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c9f39c1b9bafbd18ce3831c8da6865b21827fef3
Author: NeilBrown <neilb at suse.de>
Date:   Tue May 5 21:13:29 2009 +1000

    re-add error check

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=104c24eb5f8b501167e48dc57794d689ca0d78b9
Merge: bb1ff5ef710c4c0c080339e918c7a1a851929194 2800528713cd32a4d12d7e17c14eba34eb8a4ec2
Author: martin f. krafft <madduck at debian.org>
Date:   Tue May 5 12:05:50 2009 +0200

    Merge branch 'devel-3.0' into debian/experimental
    
    Conflicts:
    	.gitignore

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bb1ff5ef710c4c0c080339e918c7a1a851929194
Author: martin f. krafft <madduck at debian.org>
Date:   Thu Apr 30 11:52:22 2009 +0200

    record new release in changelog
    
    Signed-off-by: martin f. krafft <madduck at debian.org>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f2d28f535c4bc5b130121a84eefe1eb1912c2d4a
Merge: d355f4f59c1e0d437eeff86c276bf3428689ae4b b9d77223eb68a211410131b5b0895c547a6d5734
Author: martin f. krafft <madduck at debian.org>
Date:   Thu Apr 30 11:51:32 2009 +0200

    Merge commit 'mdadm-3.0-devel3' into debian/experimental

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=caa0f6c623214231380c5ef0de91b53cc43d1e0b
Author: NeilBrown <neilb at suse.de>
Date:   Wed Apr 29 11:44:02 2009 +1000

    Fix gcc-4.4 compiler warning.
    
    Apparently the dereferencing of a type-punned pointer breaks strict
    aliasing rules.   And we wouldn't want to do that.
    So just make a different array of the appropriate type and use memcpy.
    
    Resolves-Debian-bug: 505375
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=667e66d329168f205f0f67674910287fed982d87
Author: NeilBrown <neilb at suse.de>
Date:   Wed Apr 29 11:21:08 2009 +1000

    Makefile: use $(CC) more consistently.
    
    Explicitly calling 'gcc' in some rules makes it hard to test with
    other compilers.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=25affb56b921041794abfb0774b615476d6ddb11
Author: Paul Clements <paul.clements at steeleye.com>
Date:   Wed Feb 11 13:49:26 2009 -0500

    mdadm: allow build to use --size
    
    This patch enables the --size parameter for build operations.
    
    Without this, if you have a raid1, for instance, where the 2 disks are
    not the exact same size, and you need to build the array but one of the
    disks is not available right at the moment (maybe it's USB and it's
    unplugged, or maybe it's a network disk and it's unavailable), then you
    have to play some weird games to get the array to size correctly (that
    is, to the size of the smaller of the two components or less).
    
    There may be other uses for this too...
    
    --
    Paul
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2800528713cd32a4d12d7e17c14eba34eb8a4ec2
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 14 14:59:24 2009 +1000

    Wait for POLLPRI on /proc or /sys files.
    
    From 2.6.30, /proc/mounts and various /sys files will
    probably always returns 'readable' to select, so we will need
    to wait on POLLPRI to get the 'new data is available' signal.
    
    When using select, this corresponds to an 'exception', so
    adjust calls to select accordingly.
    In one case we sometimes wait on a socket and sometime on
    /proc/mounts, so we need to test which.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c256924e52249b52bad42963176c42601f1a08f4
Merge: fa5090285af9401f950aa5c1a3a82708c69c4906 7e7fffc4022114c491587755998395ef4766fcc2
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 14 11:11:14 2009 +1000

    Merge branch 'master' of git://github.com/djbw/mdadm into devel-3.0
    
    Conflicts:
    	Grow.c
    	mdadm.h
    	sysfs.c
    Due to independent fixes for the "mdadm hangs if reshape finishes too quickly"
    problem.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fa5090285af9401f950aa5c1a3a82708c69c4906
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 14 10:58:54 2009 +1000

    udev rules fix for partitions.
    
    sysfs directories for partitions do not have md/* files, but
    should not for that reason be ignored.
    
    Thanks to Michal Soltys for original fix.
    
    Signed-off-by: Michal Soltys <soltys at ziu.info>
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cf3a3d7888ea5f5ba465ed6d36d76c3c12ac520b
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 14 10:49:40 2009 +1000

    mapfile:  optionally store map file in /dev
    
    During early boot, /var/run may not exist or be writable.
    If that happens, sore the mapfile (which is very important for
    incremental assembly) in /dev (which should exist for udev).
    
    Thanks to Doug Ledford <dledford at redhat.com> for identify this
    problem and suggesting a solution.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=78e3d2a37620d4f936f853e652c14cd22cafd381
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 14 10:19:06 2009 +1000

    tests: basic ddf tests
    
    Test script to create a ddf with three different member arrays,
    and assemble it in a variety of ways.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8ab2924c65bddce2b110275350ac519f9b0b5964
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 14 10:19:05 2009 +1000

    tests:  add some simple data integrity tests for raid5/raid6
    
    Make sure the data is preserved even when the array is degraded.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6161a7a0161a1d40afa704f3d62deef313c3cce5
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 14 10:19:04 2009 +1000

    .gitignore update
    
    Add a few more generated files to .gitignore
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=462906cdeebc07875a4c8653c86ca02c09280f78
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 14 10:19:02 2009 +1000

    incremental_container: preserve 'in_sync' flag when adding to existing array.
    
    When building container members with -IR, we need to ensure that
    devices added to an active array preserve the 'in_sync' status so they
    don't needlessly get rebuilt.
    
    So allow sysfs_add_disk to do this (only works in kernels since
    2.6.30) and pass the relevant flag down.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7e7fffc4022114c491587755998395ef4766fcc2
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:28 2009 -0700

    mdmon: fix resync completion detection
    
    Starting with 2.6.30 the md/resync_start attribute will no longer return
    a non-sensical number when resync is complete, instead it now returns
    'none'.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=48924014b02dd0e8046f58a4c6c9a2903a9b1dbd
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:28 2009 -0700

    Grow: fix hang when reshape completes too fast
    
    For short reshapes the kernel may be done before mdadm can check that
    progress has passed the critical section.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=506ffd1e0bd08cc74f5177d4f4db7c66d7724f6a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:28 2009 -0700

    RebuildMap: handle missing disks
    
    When rebuilding the map file tolerate missing/offline disks, otherwise
    we will segfault on the NULL return from sysfs_read.
    
    Reported-by: Jacek Danecki <jacek.danecki 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=252d23c018cefb2e42c494b1789f5e4945063ee3
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:28 2009 -0700

    imsm: add the ddf field
    
    This field is always one in arrays created by the Windows driver / OROM,
    not sure why...
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=979d38be50e84b70e0809249a6b05864049fb97d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:28 2009 -0700

    imsm: round down array size at Create
    
    Store the 1MB rounded down size of the array at create time.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=da9b4a62af80edbbcc96196ab5d887308516ba70
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:28 2009 -0700

    imsm: set array size at Create/Assemble
    
    imsm arrays round down the effective array size to the closest 1
    megabyte boundary so teach get_info_super_imsm and sysfs_set_array to
    set 'md/array_size' if available (and make sure ddf uses the default
    size).
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=da1887895404506708387fa3781bf0df0a2664ff
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:28 2009 -0700

    imsm: turn off curr_migr_unit updates
    
    New documentation shows that this field is not equivalent to
    md/resync_start.  Disable updates until full support can be developed.
    
    Writing '0' when a migration starts/re-starts remains correct.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1ce0101c9a16ab5ffa148a0b8f5c9ac0d7b81684
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:28 2009 -0700

    imsm: defend against unsupported migrations (temporary)
    
    Until support for higher order migrations (online capacity expansion,
    raid level migration, chunk size migration...) are implemented do not
    allow arrays in these states to be assembled.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1484e727976ef1352f5e8b48889efd22b209b737
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:27 2009 -0700

    imsm: add 'verify', 'verify with fixup', and 'general' migration types
    
    imsm distinguishes parity initialization from parity checking in the
    metadata. Older option roms marked the repair operation with the
    'verify' type and a 'with fixup' flag in the raid device 'status' field.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ff5963088d487e6b7f16fb7cb260bf9cac60bf4a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:27 2009 -0700

    imsm: fix imsm_map.num_domains
    
    'num_domains' is the number of parity domains.  I.e. 2 in the raid10
    case (2-mirrors), while raid0 through raid5 have 1 parity domain (even
    though raid0 does not have parity).
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1f45a8ad2083d6b9de6e37ae46e8ac957694d0f8
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Apr 12 00:58:27 2009 -0700

    imsm: ensure mpb buffer is zeroed
    
    Don't leak unitialized data into the mpb.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9d84c8eac256345126f10628e4f13c07f7eece17
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Apr 11 21:53:25 2009 -0700

    imsm: support --examine --export
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ae2bfd4e13575b44ee74e8b60211436633b92a2c
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Apr 11 21:53:25 2009 -0700

    imsm: make uuid separator consistent with ddf
    
    '-' to ':'
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=316e2bf426350bc5f8dec16ad7fc079d9c8ba725
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Apr 8 11:41:51 2009 -0700

    imsm: extract right-most whitespace stripped serial number
    
    According to new documentation the metadata expects that all whitespace
    (characters <= 0x20) are stripped from the incoming serial number.  If
    the length remains longer than MAX_RAID_SERIAL_LEN then only the
    right-most characters are preserved.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a9934ce44184660332549965c7d83a6a023ffd33
Author: Doug Ledford <dledford at redhat.com>
Date:   Wed Apr 8 17:32:55 2009 +1000

    mdadm udev rules change
    
    I'm not attaching a patch for this because it's so simple.  Long story
    short, watching both add and change events in udev rules is bad for md
    devices.  Specifically, the kernel will generate a change event on
    things like array stop, and on things like fdisk close.  In the case
    of array stop, it can result in the array being assembled again
    immediately.  In the case of fdisk close, the situation is worse.
    Let's say you stop all the md devices on some block device in order to
    repartition.  You run fdisk, change the partition table, then issue a
    write of the table.  The write of the table triggers the change event
    *before* the kernel updates the partition table in memory for the
    block device, causing udev to rerun the incremental rules on the old
    partition table and restart all the arrays you just stopped with the
    old partition table layout, at which point the kernel is unable to
    reread the partition table.  So, once you've enable incremental
    assembly, it becomes apparent that what we really want is to only
    start devices on add, not on add|change.
    
    --
    
    Doug Ledford <dledford at redhat.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c9b6907ba0de7812139cad2dac2c13545810713f
Author: Doug Ledford <dledford at redhat.com>
Date:   Wed Apr 8 17:25:52 2009 +1000

    super-ddf: fix compile warnings on ppc64
    
    Simple patch to silence some compile warnings that only show up on
    64bit arches.
    
    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=7c5483270d39599361a69de11f1b8debafde03a9
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 7 17:54:09 2009 +1000

    Incremental - avoid NULL dereference.
    
    There structure returned by sysfs_read might not have any 'devs',
    don't assume it does.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7f15ccce537c4e07ce8e1919684f3d4e4feabc9e
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 7 17:50:34 2009 +1000

    test: minor fixes
    
     - allow core files to be dumped.
     - modprobe md_mod if needed to write to
            /sys/module/md_mod/parameters/....
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=03b7f6c6bd3ede46b0f21b82032fe6746084db48
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 7 17:49:05 2009 +1000

    Incremental: be more relaxed about member arrays not completely assembling.
    
    During incremental assembly, if the member array doesn't assemble
    properly (yet), that isn't an error.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8b4e5ea926a081d870af85fe5d304bcac48d9f57
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 7 17:45:42 2009 +1000

    Assemble: call map_update even when not starting the array.
    
    For incremental assembly to work, we need to keep the 'map'
    up-to-date even when not starting the array yet.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c0d50ca58423168f2b86ba674227a9bbc33e1501
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 7 17:41:55 2009 +1000

    ddf: fixed 'working_disks' reported by container_content.
    
    The 'work_disks' number should be the number that is expected, not the
    number found so far.   This is needed for Incremental assembly to
    start the array at the right time.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=962371a529e12fb1221f85202cadb3d4879089f7
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 7 17:40:24 2009 +1000

    ddf: improve print out of physical devices.
    
    Just add some more space really.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e223334fe720c927301712f6b4944d58e415ac96
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 7 17:38:25 2009 +1000

    ddf: fix variable name overload
    
    The variable 'i' was being used as a loop variable, and also
    for something else inside the loop.   So make the larger loop have a
    more meaningful name.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a7c6e3fb24f8335005a6ff8e0eb668faa257c941
Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr 7 17:34:38 2009 +1000

    wait_for improvement.
    
    wait not only for the name to appear, but for it to refer to the
    correct device.
    Sometimes old symlinks left lying around can be confusing.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b1b12d58194e42208e4828ea5818279c00a0ed18
Author: NeilBrown <neilb at suse.de>
Date:   Mon Apr 6 16:09:52 2009 +1000

    config: treat "container=" and "member=" and providing the required identity information.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3590496027119a99b4c36d4e22813d12474041c7
Author: NeilBrown <neilb at suse.de>
Date:   Mon Apr 6 15:54:51 2009 +1000

    Detail: use meaningful names with --scan.
    
    When reporting "--detail --scan", use names like /dev/md/foo where
    available rather than /dev/md/127
    
    This is particularly needed for containers where the member arrays
    will report "container=/dev/md/foo" and we want the container to have
    the same name.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9f3bd60c79a5c0941af7af8422299769f23b77df
Author: NeilBrown <neilb at suse.de>
Date:   Mon Apr 6 15:53:31 2009 +1000

    Create: round to chunk size
    
    There are probably other places where rounding size to
    chunksize is needed, or useful, but this is a good start.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d50683f9031d92af16968e2db7c16f796935fcfe
Author: NeilBrown <neilb at suse.de>
Date:   Mon Apr 6 15:52:13 2009 +1000

    test: support testing DDF
    
    DDF requires larger devices as 32Meg is reserved.
    
    So allocated larger loop devices for DDF tests.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a56fb7ec54a1cde199377945e53553e2a39fa509
Author: NeilBrown <neilb at suse.de>
Date:   Mon Apr 6 15:50:56 2009 +1000

    util.c: use correct range for minor numbers when finding free device.
    
    Minor numbers are 20 bits, not 22.
    So when looking for a free, high minor number, try (1<<20)-1,
    not (1<<22)-1.

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

    ddf: make sure Create fails if devices are too small.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=97320d7ca4a4bba8823d87ca655c4ede4e7b3523
Author: NeilBrown <neilb at suse.de>
Date:   Thu Apr 2 13:37:34 2009 +1100

    ddf: fix bug with error returns.
    
    In some cases we should only print an error message if
    'devname' is defined.  In fact we were only returning
    the error at all in that case!!
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=37353437daabcf05eb389782f61b90ae181b8979
Author: NeilBrown <neilb at suse.de>
Date:   Wed Apr 1 13:51:57 2009 +1100

    ism-tests: fix the imsm-create-fail-rebuild test
    
    it was testing the return status of mdadm wrongly, and
    I found I needed a 'udevadm settle'.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=dd4ae23ad0f65ab28b812a75ef3a9923c70f78a2
Author: NeilBrown <neilb at suse.de>
Date:   Wed Apr 1 13:50:19 2009 +1100

    test: return correct error status for mdadm
    
    mdadm's return status is being hidden by the 'test' script so
    individual tests cannot see it.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=55e5475945a971dfcebacdd59f565efc7513afa4
Author: NeilBrown <neilb at suse.de>
Date:   Wed Apr 1 13:49:34 2009 +1100

    Makefile:  build 'mdmon' for 'test'
    
    Else
      make test
    might not prepare everything for running tests.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=93ecfa01d47f992a41694ef8c75f6e542bb5ffee
Author: NeilBrown <neilb at suse.de>
Date:   Wed Apr 1 12:26:08 2009 +1100

    grow: don't wait forever for critical section to pass.
    
    If an array reshape completed within 1 second, then --grow will not
    notice that it has finished and will keep waiting for the critical
    section to pass.
    
    So be more cautious in the test.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

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

    Release mdadm-3.0-devel3

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8844e291492b82f4bae6129673fb383a309514c0
Merge: 661dce36178960a20a5bcbb3bbf92e721df1bec0 388953d27c20476f84ca71546d6fd357e0230e25
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 10 16:47:02 2009 +1100

    Merge branch 'master' in devel-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=661dce36178960a20a5bcbb3bbf92e721df1bec0
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 10 16:28:22 2009 +1100

    mdmon: allow incremental assembly of containers.
    
    If mdmon sees a device added to a container, it should assume it is
    a new spare.  It could be a part of the array that just hadn't been
    assembled yet.  So check first.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bc17324f5e0fd1631bfd9a8d749a34a94da4e621
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 10 16:28:22 2009 +1100

    DDF: fix up container_content
    
    If we haven't got hold of all the devices yet, we need to be
    ready to skip over some while gathering content information.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bb50e5d38319fbb243d1a20151e0f00f3f209817
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 10 16:28:22 2009 +1100

    Assemble/container: catch errors when starting a partial container.
    
    If we are assembling an array in a container and it isn't complete
    enough to start yet, then
      - don't start mdmon
      - don't say the array is started
      - don't wait for the device to appear in /dev
    
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3092660000d462965b816ce3e7e0ff8b4802b215
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 10 16:28:22 2009 +1100

    Incremental/container:  don't create when we should just be opening.
    
    When incr-assembling in a container, if the array already exists,
    don't try to create it again, just open it.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=add394f39e16445a7975bd00fea69ed2bda05b70
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 10 16:28:22 2009 +1100

    mdopen:  be more careful when adding digit to names.
    
    If we need to add digits to a name to make it unique, but don't have
    to add '_', we need to avoid adding a digit immediately after a digit.
    So if the last character of the name is a digit, add the '_' anyway.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ecb02e31d5e29bda0d9d9c7ae073f8379c7558d5
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 10 16:28:22 2009 +1100

    Incremental:  fix some handling of trustworthy.
    
    1/ if homehost matches, then we need to set trustworthy to 'LOCAL'
    2/ if we decide to set trustworthy to 'METADATA' because we have to
       use the metadata version name, do that *after* we have checked if
       we are going to assemble within a container, as inside the
       container there could be different sources of names to use.
    
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bfb7ea78e49bd851ee9fb73cac813123cb78b1de
Author: NeilBrown <neilb at suse.de>
Date:   Tue Mar 10 16:28:18 2009 +1100

    ddf:  use better random number generation.
    
    use /dev/urandom rather than calls to 'random()' if possible.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bceedeec55eeb5fc37065fed39159a04cffc1307
Author: NeilBrown <neilb at suse.de>
Date:   Mon Mar 9 14:10:52 2009 +1100

    Examine:  add examine_export for ddf and avoid crashes.
    
    If the personality doesn't provide export_examine_super, don't crash.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e5a2a3cf8c2342836b994d9cd844ef3c8ad35597
Author: NeilBrown <neilb at suse.de>
Date:   Mon Mar 9 13:55:59 2009 +1100

    ddf: fix memory corruption bug.
    
    When adding to a point, you don't need to multiple by the size
    of the pointer - C does that for you!

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cfccea8c1723845cfc40fa7b91cbc39d7196fcea
Author: NeilBrown <neilb at suse.de>
Date:   Mon Mar 9 13:55:13 2009 +1100

    DDF: minor formatting improvement
    
    avoid long lines in --examine output

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b640a252ee4d0c7be9ab31d9300aec00571b6238
Author: NeilBrown <neilb at suse.de>
Date:   Mon Mar 9 11:16:53 2009 +1100

    Support new raid6 layouts needed for DDF
    
    DDF raid6 layouts are subtly different from the standard 'md' layouts.
    From 2.6.30 the kernel knows about these.
    Teach mdadm about them, and also allow 'ddf' to set an appropriate default.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e8e1c176d86433b6d5ebab246257e6f506402fa4
Author: NeilBrown <neilb at suse.de>
Date:   Mon Mar 9 10:38:33 2009 +1100

    super1/examine:  remove confusing information.
    
    The information about how slots and roles in the array lined up
    turned out to be confusing.
    
    So simplify it and one provide the interesting information.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5ea022a16e62ef8d988c9296c7ade501423433d3
Author: NeilBrown <neilb at suse.de>
Date:   Mon Mar 9 10:17:42 2009 +1100

    super1 - do metadata IO in sector_size units.
    
    If the sector size is > 512, we need to be more careful about
    alignment.
    The largest known sector size is 4096 and (fortunately) both the
    superblock and (in many cases) the bitmap are 4096-byte aligned.
    So there should be no data-overlap problems.
    
    The exception is when the bitmap is squeezed into the 3K after the
    superblock.  This arrangement cannot currently be supported on
    4K sector-size devices.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b550887f72e9c566aa5083d8476501b5f87f4d3d
Author: NeilBrown <neilb at suse.de>
Date:   Mon Mar 9 10:16:17 2009 +1100

    super0:  Do all metadata IO with 4096byte alignment
    
    .. because some devices (dasd) have 4096 byte sector size.
    
    As the superblock is 4096 bytes and the bitmap is in a
    60K region, this is safe from any possible corruption.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fabf4941b11a852800dd7b2c61e18e69c91d8e4d
Author: NeilBrown <neilb at suse.de>
Date:   Mon Mar 9 10:14:48 2009 +1100

    Fix udev-rules for case where array isn't really there..
    
    See http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=b822542608326092e177fd1707ca7fb53b2846c4
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8be094f0ee28460b4d2d144a44cdf90ea7082751
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Feb 27 15:35:20 2009 -0700

    imsm: display supported chunk sizes in --detail-platform
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fdb482f99b9ad2ef8cd1724902fdfeedaa8796a1
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    Incremental: honor --no-degraded to delay assembly
    
    Currently Incremental_container is being called after adding each disk.
    In the imsm case where spares are not tracked in the raid_disks field we
    can use --no-degraded to block premature assembly.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e12e1d1d6abd79bbc3406a78149db8732c0c8dd6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    Incremental: fix 'name_to_use' in the container case
    
    Just like the Assemble case, default to the text_version of the
    container if another name is not specified.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1b34f5199742beb0e078bc22fa212efa9a5fdd03
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    mdmon: update cmdline when scanning
    
    Allows ps -ax | grep mdmon to show:
    	mdmon md127
    	mdmon md126
    ...rather than:
    	mdmon /proc/mdstat
    	mdmon /proc/mdstat
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7675959b0ff57bc3b1df2e08220533824d6f6038
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    mdmon: man page
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=140d3685fbe10c4cbb6afb2ccde820a49903d982
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    mdmon: fix missed 'clean' event
    
    mdmon may miss events because it re-reads state after read_and_act.  The
    additional read is used to determine dirty status before allowing a
    sigterm to proceed.  Since read_and_act is in the best position to
    determine 'dirty' status and its return value is not used, modify it to
    return true if the array is dirty.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=efb30e7f1ed59e4f5da95c96a76080ea75b876f9
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    imsm: auto layout
    
    In support of auto-layout:
    
    1/ collect and merge all extents to find the largest common-start free region
    2/ verify that we meet the "all volumes must use the same set of disks"
    2/ mark the disks to be added in add_to_super_imsm_volume
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=18fde300feeb9e7c054510b0655b316c025c7a94
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    Create: fixup 'insert_point', dependent on 'subdevs', for auto-layout
    
    'subdevs' is read from the container in the auto-layout case so reset
    subdevs dependent default values.  'insert_point' without this
    change is always 2 blocking creation of arrays with > 2 raid disks.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a9b8734a23a72afe1f990e446294e5cca37d3775
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    Create: wait_for container creation
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=85f9b5f798f7fded7145df7b250744e216251ad7
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    Manage: permit '--remove detached' for containers
    
    Skip the unique holder check in the detached case... pretty sure no one is
    holding on to it if open() returns ENXIO.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=04a8ac089c1d295c59380419c927d2bc49f33454
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    mdmon: record added disks
    
    Prevent duplicate disks from being sent to the monitor thread.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7da80e6faa16e09eb557c5d66ba34c8f29b0072e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:57 2009 -0700

    mdmon: fix removed disk handling
    
    Use SKIP_GONE_DEVS when reading the container, and correct some confused
    logic in manage_new().
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=dab4a5134e8d946f3809163af6abb80a945c904c
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:56 2009 -0700

    sysfs: allow sysfs_read to detect and drop removed disks
    
    All operations that rely on loading from an existing container (like
    --add) will fail after a disk has been removed.  Provide an option to
    skip missing / offline disks rather than abort.  We attempt to do this
    in the load_super_{imsm,ddf}_all cases when mdmon is running i.e. we
    already have a consitent version of the metadata running in the system.
    Otherwise, we fail as normal and let the administrator fix up the
    container.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=db575f3b9ebfdf0d7ac8dd5f9b1d4b4d0e446e80
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:56 2009 -0700

    imsm: retry load_imsm_mpb if we suspect mdmon has made modifications
    
    If the checksum verification fails and mdmon is running we retry the
    load to get a consistent snapshot of the mpb.  Found by
    tests/08imsm-overlap.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ecf45690f2f4316b308eca3fd54af78a7c945726
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:56 2009 -0700

    imsm: verify single sector mpb checksums
    
    If the mpb is only one sector do not skip the checksum verification.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0556e1a2b1d6d4ddcb3a198017f5503c585b1473
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:56 2009 -0700

    imsm: fix mark_failure / introduce mark_missing
    
    Actually, rename mark_failure to mark_missing and then implement the
    correct mark_failure which according to new documentation is to:
    
    1/ Set the FAILED status bit
    2/ Set IMSM_ORD_REBUILD to mark the disk out of sync
    3/ Set map->failed_disk_num if this is the first failure detected
       failure (it is ~0 otherwise)
    
    Previously the assumption was that IMSM_ORD_REBUILD only appeared in
    map[1], so all routines that care about out-of-sync disks need to be
    updated.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=620b171338b26125e21c18cd121cf397ddb80e2a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Feb 24 18:45:56 2009 -0700

    imsm: introduce get_imsm_disk_slot
    
    Implement a common disk index to disk slot routine and replace open
    coded versions.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=df4746577e79650f8549555a1bdd083ffb8415b6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Feb 23 23:06:24 2009 -0700

    imsm: fix activate spare to ignore foreign disks
    
    A foreign disk is one that all other drives believe is not-in-sync but
    does not have the 'failed' status bit set.
    
    This also reverts, because that commit is addressing the wrong problem.
    Ideally mdmon would kick "non-fresh" drives like the kernel does at
    native-md activation time, but that is too awkward to implement at the
    moment because mdadm owns container manipulations.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

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

    imsm: fixup container spare uuids by default
    
    Spares in the imsm case are marked with the "match-all" uuid of
    ffffffff-ffffffff-ffffffff-ffffffff.  When performing incremental
    assembly we need to associate such devices with a populated container
    uuid.  Also when performing --detail on a container with only spares
    present we can make an attempt to return a real uuid.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=689c9bf3c3976a7eda5566291332c513f3dc133b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Feb 23 23:06:24 2009 -0700

    imsm: fix missing initializations of the per-disk extents pointer
    
    Fixes a glibc assertion when trying to free a pointer that was not
    malloc'd.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ddaf4ce2da7542ecd8bad7233e5e8d90f2aac5c3
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Feb 23 23:06:24 2009 -0700

    test: fix a call to udevsettle
    
    udevsettle is deprecated, use udevadm settle
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

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

    imsm: provide a simulated option-rom for regression tests
    
    IMSM_NO_PLATFORM turns off checks that should be tested, so provide a
    IMSM_TEST_OROM variable to allow testing the orom constraints in the
    mdadm regression suite.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5a03814040095c0eaf576ce5530ade93a2b558d0
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Feb 2 15:01:13 2009 -0700

    imsm: block creation of devices with identical names
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=78757ce8a57059a09f7ea57fd9a5d47984d98fe9
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Feb 2 10:54:58 2009 -0700

    imsm: don't check raid1 chunk size
    
    mdadm -C /dev/md/r1d2n1s0-5 -amd -l1  --size 5242880 -n 2 /dev/sdb /dev/sdc  -R -f -v -c 64
    mdadm: chunk size ignored for this level
    mdadm: super0.90 cannot open /dev/sdb: Device or resource busy
    mdadm: super1.x cannot open /dev/sdb: Device or resource busy
    mdadm: platform does not support a chunk size of: 0
    mdadm: device /dev/sdb not suitable for any style of array
    
    Reported-by: Krzysztof Wojcik <krzysztof.wojcik at intel.com>
    Tested-by: Jacek Danecki <jacek.danecki 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=6c40598f598874d1d4c2c4d0da0c2a9b873d768d
Merge: caf8d2317519df27b805919c3878fe3c3acc6923 b47dff6675026053dc574f305df570d79754484e
Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb 2 11:09:09 2009 +1100

    Merge branch 'master' into devel-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=caf8d2317519df27b805919c3878fe3c3acc6923
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jan 23 15:45:34 2009 -0700

    imsm: fix failed disks are allowed back into the container
    
    Failed disks do not have valid serial numbers which means we will not
    pick up the 'failed' status bit from the metadata entry.  Check for
    dl->index == -2 to prevent failed disks from being incorporated into the
    container.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5615172f1d9daba1d5927758322f7addda803159
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:51 2009 -0700

    Create: warn when a metadata format's platform components are missing
    
    If the metadata handler can not find its platform support components
    then there is no way for it to verify that the raid configuration will
    be supported by the option-rom.  Provide a generic method for metadata
    handlers to warn the user that the array they are about to create may
    not work as intended with a given platform.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a20d2ba5f32c76903ab6e32d83fa8c5e9c78d13f
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:51 2009 -0700

    imsm: enforce "all member disks must be members of all arrays"
    
    This is a key orom-compatibility constraint.  A nice side effect is that
    it precludes the corner case of 'create' racing against 'spare activate'
    since the create will fail to convert a spare into an array member.  At
    create time we check if this is the first member array in the container
    if it is than all disks are possible candidates, if it is not then only
    current members are permitted.
    
    A bit hairier is spare-activation handling in the presence of this
    constraint.  It is difficult because spare handling is per array.  The
    approach taken is to:
    
    1/ check that a new spare can cover all defined arrays in the container
    2/ ensure that partially assimilated spares are the first candidates
       when looking for a spare region to activate.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1c556e92bad85ab7591ddf5ac78b90513f315b32
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:50 2009 -0700

    imsm: enforce num_disks constraints
    
    RAID1 == 2 disks
    RAID5 >= 3 disks
    RAID10 == 4 disks
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=35f81cbbc5ecc943c959f3c7153dcf6d83d1b994
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:50 2009 -0700

    imsm: rename vprintf macro to pr_vrb
    
    Don't redefine standard library calls unecessarily...
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a18a888ea7944aa1718e7a0daccb6f0a13b2e34d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:50 2009 -0700

    Create: allow per-metadata default layouts
    
    Let handlers specifiy their own defaults, specifically needed for the
    imsm-raid5 case where mdadm defaults to 'ls' and imsm to 'la'.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5746141e3f48246cd51f74562e3f947e8d0ddf6a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:50 2009 -0700

    mdmon: make switchroot an undecorated option
    
    Simplify the usage from:
    	mdmon [--switch-root dir] /device/name/for/container
    to...
    	mdmon /device/name/for/container [target_dir]
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=66afdfa977d087a9cfae3175175537affd5ac6de
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:50 2009 -0700

    Assemble: fix busy detection
    
    Use mddev_busy() as GET_ARRAY_INFO can succeed on 'clear' arrays.
    
    Ran into this after an encountering a case where mdadm -Ss ended in
    segfault (missing check for NULL return from map_by_devnum() in
    sles11:Manage.c).  So, tried to stop the array by hand with echo clear >
    md/array_state, after which I could not reassemble since GET_ARRAY_INFO
    was succeeding.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1ffd2840df56eab568a5744c8d8a8484a42c18e2
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:50 2009 -0700

    mdmon: support scanning for containers
    
    When the given container is '/proc/mdstat' then launch an mdmon instance
    per container found in /proc/mdstat.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6f4098a6fd809acd6ef6a80051eec09f4536a27d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:36:50 2009 -0700

    mdmon: expand permissible container device names
    
    Allow any path that dereferences to an md device to be used in addition
    to the current symbolic md device names.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=03cd4cc810fdaea1613fa6a792564aa96451f447
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 01:33:56 2009 -0700

    imsm: imsm_read_serial check for zero-length response
    
    VMWare virtual disks successfully run the inquiry but return a zero response.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=be2c0e387b88c801a5b5f07d7f447a4dba97100e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 20 00:29:34 2009 -0700

    imsm: fix dev_open return value handling
    
    dev_open returns an fd
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c1363b408f7b9f7a997c4cd706934a062bfca3bc
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jan 13 15:46:05 2009 -0700

    mdmon: fix missing ->subarray initialization
    
    This can cause mdmon to fail at startup.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=78fbcc10312649f2f4f88283e3f19dce9b205733
Merge: 45b662b611a6fbbdd018a65b6f205e91df884c37 1a0ee0baf049809f9e67d60bb8158801eada3bd5
Author: NeilBrown <neilb at suse.de>
Date:   Thu Jan 8 09:31:28 2009 +1100

    Merge branch 'master' into scratch-3.0
    
    Conflicts:
    
    	Assemble.c
    	config.c

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=45b662b611a6fbbdd018a65b6f205e91df884c37
Merge: 8a659c33212f85cc0dcecc759b7b36b0bb2b4fe4 0c5c7b470e6f64b1ae0c5141533f09b1c709255b
Author: NeilBrown <neilb at suse.de>
Date:   Thu Dec 18 16:58:25 2008 +1100

    Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/mdadm into devel-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8a659c33212f85cc0dcecc759b7b36b0bb2b4fe4
Merge: b06e30958b6ef4d26497894b2584757b40565d91 3a56f223e94106102eed3fd2b08d3ecad353361b
Author: NeilBrown <neilb at suse.de>
Date:   Thu Dec 18 16:56:13 2008 +1100

    Merge branch 'master' into devel-3.0
    
    Conflicts:
    
    	Assemble.c
    	Incremental.c
    	Kill.c
    	ReadMe.c
    	inventory
    	mapfile.c
    	mdadm.8
    	mdadm.spec
    	mdassemble.8

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0c5c7b470e6f64b1ae0c5141533f09b1c709255b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:19 2008 -0700

    imsm: test overlapping creates
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2952742d3252fc8817c230336b07644e9238e4c2
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    workaround a hald interaction and quiet cleanup
    
    The 'udevadm settle' call appears to resolve:
    
    mdadm: failed to stop array /dev/md127: Device or resource busy
    Perhaps a running process, mounted filesystem or active volume group?
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4b7a9ee3a1e45aeb3cdf8c829762e7de5e1b25ec
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    test: enable per-test custom environment setup/teardown
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4025c288b2622a589b4403a3158452d4a7bfa7fa
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    imsm: don't take chunk_size into account for raid1
    
    Results in chopping off usable parts of the requested size.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c8151cbc42e48b7bb318ee1425663413dfb4b604
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    imsm: reverse swapped arguments to posix_memalign in imsm_prepare_update
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ba2de7ba059e77fdb494d9fe8a2251120c19f668
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:57:08 2008 -0700

    imsm: convert dev_tbl to devlist
    
    ...to facilitate testing arbitrary numbers of raid devices
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d665cc31e72f722f5c649a7029a85f3ad51e6a4d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    imsm: provide a detail_platform method
    
    Dump the orom capabilities and hardware disk configuration.  This code
    relies on the name of scsi_host objects to determine the hardware port
    number.  Hopefully this information is stable...
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4cce4069597491f5714fd81605f212ad2da62e06
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    introduce --detail-platform to display platform raid capabilities
    
    Metadata formats like imsm work in concert with platform firmware and
    hardware, so provide a way for mdadm to display this info to the user.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=88c32bb1ec5d0c12eb557c4f46832fa4e1076784
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    imsm: validate arrays being created against firmware capabilities
    
    These checks are only enabled when platform support for imsm is found,
    i.e. ahci driver is loaded and talking to an Intel(R) controller, and
    the option rom header is located.
    
    They can be turned off by setting the environment variable
    IMSM_NO_PLATFORM to 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=25921536da17d72dccc9aed736ce5f26ba08b4cb
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    imsm: sysfs support routines for determining device connectivity
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b390f6106143b13eba389ebbee17460f1c2138da
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    imsm: detect option-rom capabilities
    
    The option-rom advertises its capabilities in a data structure located in
    the platform ROM region 0xc0000-0xf0000.  Attempt to detect the option-rom
    and limit array creation to the platform's capabilities.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=39795f9cda7ae4cf57e1743d61a909507de9eef8
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:18 2008 -0700

    port arch/x86/kernel/probe_roms_32.c for use in 'platform' support
    
    This provides at least a kernel bug compatible method of scanning for an
    adapter-rom.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=54c2c1ea2325089dae6b95ede8dad316568c2444
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 11:46:57 2008 -0700

    imsm: pass disk info in create message
    
    We may be creating on spare disks in which case we need to know which
    disk goes in which slot.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0dcecb2e2dfe98631494b34f7770b17f51350b73
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 11:38:59 2008 -0700

    imsm: correct start offset handling at create time
    
    imsm metadata requires all members of a raid volume to start at the same
    offset.  So, incrementally build a composite disk from all the
    candidates passed to ->validate_geometry.  After each disk is added
    merge the extents and search for a common start offset that satisfies
    the requested raid device size.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=03bcbc654f56a2bba0b82cc0bd4bbbab62425eba
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 11:28:54 2008 -0700

    imsm: fix setting of device size for raid1
    
    When chunksize is 0 in the raid1 case we need to use
    info_to_blocks_per_member() to calculate the array size.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=959278735ebe8abf3cff95d2347ae5ed98c06811
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Dec 8 16:59:17 2008 -0700

    wait_for container assembly
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b06e30958b6ef4d26497894b2584757b40565d91
Author: NeilBrown <neilb at suse.de>
Date:   Thu Dec 4 17:10:43 2008 +1100

    DDF: improve --examine output
    
    Make this more readable and in line with other
    metadata types by providing a table for the devices.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8592f29d642655a2b337b010dfa435a10b362769
Author: NeilBrown <neilb at suse.de>
Date:   Thu Dec 4 16:08:33 2008 +1100

    Create: support autolayout when creating in a DDF
    
    If, when creating an array, a signal target device is given which
    is a container, then allow the metadata handler to choose which
    devices to use.
    This is currently only supported for DDF.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e46273ebe4ce6dee3ecbb640027cd3c3eca9a921
Author: NeilBrown <neilb at suse.de>
Date:   Thu Dec 4 15:47:57 2008 +1100

    Change 'size' argument to validate_geometry to be sectors, not K
    
    That way it is the same a *freesize, and generally less confusing.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e7783ee6775aa6f2cee45aefe0b723689968dca5
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Dec 2 22:45:43 2008 -0700

    fix ->metadata_version checking in Wait()
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ed034b1170781c773ebe61351280cba50001e812
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 28 13:59:36 2008 +1100

    Create: print message when preparing a container.
    
    We currently print e.g. "Array /dev/md0 started", but nothing for
    containers.
    Fix that.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5a52a340905d1a9d0a268ce2621f55db6b3fd423
Merge: 78b958e2052ccd069fa6ccc2367cda758d55540e d555f101466ab9ad72399c8de92713230e2c9c77
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 27 15:48:45 2008 +1100

    Merge branch 'master' into devel-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=78b958e2052ccd069fa6ccc2367cda758d55540e
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 27 15:43:22 2008 +1100

    Assemble: wait for device to appear via udev
    
    Use the new "wait_for" function to make sure udev has created
    the device before completion the 'assemble'.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=dda5855f96baa1b7e15e6ee8bb6d985e269257e5
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Nov 26 15:39:51 2008 -0700

    imsm: fix metadata reservation
    
    1/ When truncating the space reserved for the metadata round down to an
       even numbered sector count to avoid an off-by-one error when
       sysfs_add_disk rounds up.
    2/ Set the current metadata parameter block size
       as a floor.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=208933a7a839d60e48efc90450c6ed3c0f6873e2
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 27 15:39:59 2008 +1100

    Tidy error messages for add_to_super failure.
    
    Make sure every failure from add_to_super prints a suitable
    error message, and then don't print any error in the caller.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f20c3968363a16f3c8dce5d69863bbb54a4d236e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Nov 26 15:39:51 2008 -0700

    allow add_to_super to return errors
    
    Prepare add_to_super to validate disks against the platform capabilities
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fabbfd48b6c2398a344d2d4f7cbf0ab98181a6d4
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Nov 26 15:39:50 2008 -0700

    Support --wait-clean --scan
    
    Its cumbersome to determine which devices to wait for in a system shutdown
    script, so hook up --scan.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=614825ea825ac70ba847cd87e3beafcc557c6273
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Nov 26 11:25:10 2008 -0700

    some warn_unused_result fixups
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a30b2ecd4a4215b0c0017edc6df538c264a97e85
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 20 17:02:55 2008 +1100

    Assemble: don't auto-assemble if any arrays are listed in mdadm.conf
    
    Auto-assembly and planned assembly don't really work well together,
    it can be confusing.
    In particular in mkinitrd or similar creates an mdadm.conf to
    assemble a particular array, we shouldn't go assembling any
    other arrays as well.
    
    If you want auto assembly, you need to give mdadm a config
    file with no ARRAY lines.
      mdadm -Ascpartitions
    can do this.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e8a70c89585ddca2bcb4160808f64506c64df13b
Author: NeilBrown <neilb at suse.de>
Date:   Thu Nov 20 14:51:42 2008 +1100

    mdmon: pass symbolic name to mdmon instead of device name.
    
    Now that names in /dev are usually created (eventually) by udev,
    it isn't really safe to rely in finding a name in /dev to pass to
    mdmon to identify which array to monitor.
    And it isn't really necessary to have a name in /dev.
    So just pass the symbolic name, e.g. md127 or md123.
    
    Change util.c to pass that name, and change mdmon to process the
    name sensibly.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bf68e9d9ab185121b6004fc81b531bce8348726d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Nov 10 09:30:07 2008 -0700

    fix add_dev() handling of broken links
    
    Resolves issues like:
    mdadm -Ss
    mdadm: unable to open /dev/md/r1: No such file or directory
    
    ...where /dev/md/r1 points to a removed device.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ef70b9f4ef7a3a9f70b3a09b3a55b1cc675c0a37
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Nov 8 16:03:07 2008 -0700

    fix remove_devices()
    
    Don't write to 'pe' if 'path' was not specified
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=92bd8f8d3f2c9c7733f92a062a0752d9b9997673
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Nov 8 16:03:07 2008 -0700

    imsm: fix uuid_from_super given 'signature' is not constant
    
    The version portion of the signature changes depending on the contents
    of the container.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4d1313e9017e2608bfd2d01f854c19e23f7daf62
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Nov 8 16:03:07 2008 -0700

    imsm: compatibility fixes for creating imsm arrays
    
    When creating an imsm array use the lowest possible feature set to
    maximize compatibility.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f2f27e63c44baac976b0022c6830393954d59fd4
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Nov 8 16:02:56 2008 -0700

    imsm: fixup disk status definition endianess
    
    Change the multibyte disk status field definitions to imsm byte-order
    (little-endian) to match other multibyte field definitions.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fe7ed8cb4f43e8324ca526e4a56fb23095f0023b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Nov 8 15:47:39 2008 -0700

    imsm: add definitions for recent imsm versions
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e3bba0e010e5ce61a804139ee77ef8e25a244dd1
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Nov 7 15:57:31 2008 -0700

    imsm: cleanup migration definitions and usage
    
    imsm_set_array_state need not look at the map_state when failed==0
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5115ca67fd28a0d2f4f156fbbbdf8f648c83fc20
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Nov 7 15:08:09 2008 -0700

    imsm: cleanup ->match_home and comment on return value
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=01cbfcc854c031a18cf7542c5430734e69ef33fb
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 7 22:20:56 2008 +1100

    Create: don't wait for device to appear if we didn't actually start the array
    
    Otherwise we get an unpleasant 2 second pause when array creation
    fails.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

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

    Assemble:  close mdfd before returning from assemble_container_content
    
    This makes sure it is consistently closed.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7cb2aa33e51bbc2952bb90590fbc47c16a7c27b3
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 7 21:39:23 2008 +1100

    Assemble:  return correct status from assemble_container_content.
    
    Otherwise autoassembly can get confused.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f7ad3ccc7773155eb4e966429f84b529e8339354
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 7 21:16:38 2008 +1100

    Assemble: fix some auto-assemble bugs.
    
    1/ when we choose not to use a device, must set ->used to 2, not 1.
    2/ When we give up on a member, clear st and content.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e10a79c344d3e93612b359b526aae47ad02fb446
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 7 14:46:51 2008 +1100

    mdopen: typo in buffer-length for a sprintf.
    
    That '10000' should have been '1000'.  Make it a 'sizeof' to avoid
    such carelessness.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=25956fef108f656d30d1c28d13d4927f05b6b63c
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 7 14:46:50 2008 +1100

    Makefile: install udev file into $DESTDIR
    
    Forgot the $DESTDIR in the install target :-(
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=97f734fde22e64affd46c957d9184e536bcc1026
Author: NeilBrown <neilb at suse.de>
Date:   Fri Nov 7 14:46:30 2008 +1100

    A couple of bugfixes found by suse autobuilding:
    
    1/ ia64 appear to have __clone2, not clone.
    2/ Including "++" in the arg to a macro is a bad thing to do.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1679bef2eeb641b77d72bf20e9fbbd555cc0a1cb
Author: NeilBrown <neilb at suse.de>
Date:   Wed Nov 5 17:14:06 2008 +1100

    Release 3.0-devel2
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8fd8d9c41d8757822f41c139b88d85d3df4ebbc6
Author: NeilBrown <neilb at suse.de>
Date:   Wed Nov 5 17:03:51 2008 +1100

    Man pages:  updates for container etc.
    
    Multiple updates to try to get up to date with current code.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d49410d3ab87cf62f1f34eb6ccca5eaefb2f5428
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 21:56:42 2008 +1100

    Stop: drop any partitions that may be associated with an array when stopping it.
    
    Not all kernels automatically discard partitions when the
    array is stopped,  so call the RRPART ioctl to force it.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a714580e029ff92606a10be5db0693f419ce1fec
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 21:56:42 2008 +1100

    Wait for name to appear after create/assemble etc.
    
    We don't really want mdadm to exit until udev has
    created the names in /dev.  So wait.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=195254b87a0cb24fc2868d3c54014bf8399222a0
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 21:56:42 2008 +1100

    mapfile:  validate entries before they are returned.
    
    It is possible for the mapfile to become wrong, and that gets
    very confusing.  So validate entries before returning them.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a7d307da935631f8b9f7bbae16db297d30dc21b9
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 21:56:36 2008 +1100

    tests/06name: adjust for homehost
    
    Now that we set homehost by default, adjust teh 06name test
    accordingly.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2ce7c39bfad832ea20804ba04ca86ddff71b1d00
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 21:06:00 2008 +1100

    test: always start with a clean slate.
    
    To avoid confusion with old array, also zero superblocks
    before starting a test.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ffb3e4945d247663fb49ebcead96c3c134833a86
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 21:01:56 2008 +1100

    Incrmental: cope with udev slowness and errors in map file.
    
    If udev hasn't created the array yet, we might still want to
    open it.  So open directly by major:minor.
    
    Also, of array in map file doesn't appear to exist, do use
    the name associated with it.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=678a4a36b07b2b526e6de41149673e4475ad7d9f
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:56:11 2008 +1100

    Abort sysfs_read early if no device found.
    
    sysfs_read currently tried to look in sysfs even in no valid sys_name
    was found.  Don't to that.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bde2c6e2870148c85f971d93e88c128d2bd0be10
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:54:50 2008 +1100

    mdopen: only let numeric name set minor number if it doesn't cause a conflict.
    
    So if the array with minor number matching the name of a new array
    already exists, just assemble with a different minor number.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=56a8da69b1decc48d6563202648a89a630866d61
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    Assemble:  we were missing a 'close'
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=045495a3945db353568eba82c6a37c57a24f1800
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    test: make sure udev isn't opening a device before closing it.
    
    As we open and close so quickly, udev might still have the device
    open.  so call udevsettle before stopping an array during testing.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=90c8d6680de9069e1d09166e146e2be53c280924
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    Man page update for containers etc.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a9e1c11d8b1a3637d269a0f7931c4a79c40ae170
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    ddf:  store homehost information to allow smooth assembly.
    
    When we create our own ddf array, store the homehost in the vendor
    information so it can be so to ensure 'LOCAL' name choices.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f2be09f12fde4a2bb2be47602b6a7f282c136842
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    Create: make sure chosen_name is used for array name generation in Create
    
    As with Assemble, one create_mddev has chosen a name, we should always
    use that rather than the passed 'mddev'.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=87b47257eb5605b4f96772405368ea3db3fcf9c3
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    Create:  Don't optimise resync as recovery when creating raid5 in a container.
    
    As spares are treated quite differently in containers, we cannot
    fake-up a spare to optimise initialisation for a raid5 in a container,
    so disable that code for ->external arrays.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f2e55eccfb92969c3e11bc5d4883315f2e866a14
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    mdopen: use small sequence number for uniquifying array names.
    
    Rather than appending the md minor number, we now append a small
    sequence number to make sure name in /dev/md/ that aren't LOCAL are
    unique.  As the map file is locked while we do this, we are sure
    of no losing any races.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f05641cf7a250bda189f16d9c6b917683e5c9aad
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    Assemble:  revise detection of 'autoassemble' mode.
    
    We probably should pass a flag down saying 'this is auto-assembly',
    but for now, if there is no identity information set, it must
    be auto-assemble.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=42dc2744a82a4fd31262f5d4d0082118c9d64a52
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    DDF: report member arrays in examine_brief.
    
    Thus an auto-generated config file will list all the arrays.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=db42fa9b21a8174db4b5d2588a01266947196278
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    DDF: fix irregularities with retrieval of 'name' from metadata.
    
    It is only 16 bytes, not 32.  And is space padded, not nul terminated.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9008ed1c9623b7c11775ea8a7be17eb1bde5fd09
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    Assemble: allow members of containers to be assembled and auto-assembled.
    
    
    Try to treat members of containers much like other arrays for
    assembly.
    We still look through the list of devices for a match (it will be
    the container), then find the relevant 'info' and try to assemble
    the array.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=52437b4f089d397fa84e22be54e1d6cdef60bea4
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:51:12 2008 +1100

    Assemble: simplify test for reporting mismatches.
    
    Rather than open-coding a test of 'verbose' and 'inargv' in
    multiple places, do it one and set a variable.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2de8884f0f3676cd170727b5161701a20e44f458
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:51:12 2008 +1100

    Assemble: block attempts to reassemble container members
    
    Attempting to open(O_EXCL) each candidate device usually filters out all
    busy raid components.  However, containers do not behave like components
    and will return container_content that may describe active member
    arrays.
    
    This patch just adds a function that will be used to check if a
    container member is busy.  It will be used shortly.
    
    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=6234c63ccc136a66be341c6bdc42eadc08c285d1
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:51:11 2008 +1100

    Assemble: factor out assemble_container_content
    
    Factor out, from Incremental_container,  the code for assembling an
    array based on information extracted from a container.  We will
    shortly use this from Assemble too.
    
    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=ce744c97bce1b34147be5e278d2b246743d89536
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:51:11 2008 +1100

    Assemble: revert preliminary -As support
    
    I have seen the light.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=98dbd96605fe7f995934ddc778f06e7b21dbcef4
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:51:06 2008 +1100

    Assemble: replace 'info' with 'content'
    
    In preparation for handling the container case where we may need to handle
    a list of potential member arrays.
    
    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=f8f84cd5b94eb6a1ea6c54ef8b1c322ef105f564
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:50:39 2008 +1100

    config: add containers to the default search list
    
    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=f64165f7579433b94548006bebfd0def2544b025
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:50:39 2008 +1100

    config: add 'containers' as a DEVICE keyword
    
    Add anything that looks like a container in /proc/mdstat to the devlist
    
    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=3ebe00a1e238dc3b582fe3aa266c7620f199a2d4
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:50:39 2008 +1100

    imsm: display container uuid in detail_super
    
    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=44470971ce9f1467c0eed4c5ec94acfc8eab4c68
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:50:39 2008 +1100

    imsm: display member array uuid in examine_super_imsm
    
    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=197e3eb690a1088d3572d96e28ad79228a91f766
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 20:50:39 2008 +1100

    Quiet unitialized variable warnings
    
    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=ad5bc697ad9bb52616c34b022fb014e890be6a2d
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    Incremental:  lock against multiple concurrent additions to an array.
    
    In two devices are added via -I to one array at the same time, mdadm
    can get badly confused.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7e6c6cb26790e4b0de2e8694cca655db26bee11a
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    Detail: support MD_DEVNAME in --export for metadata-less devices.
    
    If there is no metadata (--build was used) then we need to lookup
    by devnum, not by uuid, to get the map entry.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4ccad7b163fd5f210883d10b2fd36dcc90436b71
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    Manage: when stopping an array, delete all names from /dev.
    
    This only applies if udev isn't installed or is disabled
    by MDADM_NO_UDEV
    We try to remove partitions too.
    We find names to remove by looking in /var/run/mdadm/map
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ac2ecf554303102ca23554a925fae91ac4fa57ca
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    assemble:  fix setting of 'foreign' trustability.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=11fb4c054f7e440be699be5db683e891e3eaf3a5
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    mdopen:  fix up name parsing.
    
    I think this is closer to what I want.  Fewer surprises anyway.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a4bc1720ff51ed81ef3cd088f362d3a8a80bd1bc
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    Assemble: Fix naming of container devices.
    
    
    Container devices are meant to be named for the metadata type.
    That wasn't happening properly for DDF.
    
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=975903767837c572971675a7bf6d866d3be5fa56
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    Generate 'change' uevents when arrays change in non-obvious ways.
    
    When a 'container' gets started, we need udev to notice, but the
    kernel has no way of knowing that a KOBJ_CHANGE event is needed.  So
    send one directly via the 'uevent' sysfs attribute.
    
    Also, uevents don't get generated when md arrays are stopped (prior to
    2.6.28) so send 'change' events then too.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=757a5d74ff11aadb87c9ff8e038c7140d2c457a8
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    Add udev rules file for mdadm.
    
    This is based on the rules from openSUSE 11.1-rc3.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f069dd29f0e647a77bdc01c42fcf9e2787d76b79
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:39 2008 +1100

    detail:  --export also provided MD_DEVNAME
    
    MD_NAME is the name of the array extracted directly from the metadata.
    MD_DEVNAME is the current working name of the array.  It should appear
    in /dev/md.  It is possibly what the user gave when creating the
    array.
    We extract it from /var/run/mdadm/map.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a04d576343fcdc3da6dee3a198a4534daddbe96e
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:38 2008 +1100

    Always update mdadm/map when starting an array.
    
    We previously only updated /var/run/mdadm/map when starting an
    array with --incremental.  However we now make more use of
    that file (to pass the dev name to udev) so always update it.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9180c81bd7f4f3dd2fb9f2835894d8c0e9488dbd
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:38 2008 +1100

    Always set 'homehost' if not specified.
    
    The default for 'homehost' is now '<system>' rather than
    unspecified.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cf8de6913b63a99602cc2bb6e6ea7b9f9eb694d9
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:38 2008 +1100

    Don't give array name in --examine --brief output if it is doubtful.
    
    Now that mdadm.conf doesn't need an array name, we don't need to
    give one if the array cannot reliably provide one.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1771a6e214755311530a7099374df53d84e06a82
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:38 2008 +1100

    config: Support container=uuid as alternative to container=/dev/name in mdadm.conf
    
    When mdadm.conf is automatically generated, we might not know a
    suitable /dev/name.  But we do know the uuid of the container.
    So allow that as an option.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fe056d1fb0b1d08c614f574cceaa640abc382544
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:38 2008 +1100

    config:  Don't require an array to have a device name.
    
    i.e. in mdadm.conf you can have a line like
    
       ARRAY uuid=whatever
    
    and it will use auto-name-generation to give a name to the array at
    assemble-time.  The is different from blind auto-assembly in that the
    array will be treated as 'local'.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=215bb3f77627d818d5bc3eaca190212d491e1fcf
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:38 2008 +1100

    Incremental: adjust to the new naming scheme.
    
    
    --incremental now uses exactly the same create_mddev that
    other code uses.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c4fe2d4f5640ebbdad141cbff4e3e5ba62c32537
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:38 2008 +1100

    mdopen:  Restore creation of partition devices and symlink.
    
    Using the 'new' name scheme we restore the creation of partition
    links (in the case the udev isn't used).

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=69207ff6ac9d905c096597de4f37ff9524265d9b
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 20:50:21 2008 +1100

    mdopen:  Introduce new rules for creating device name.
    
    MORE CONTENT HERE

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=40ebbb9cfee33d550ab683846a9d38d2995a7059
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:43 2008 +1100

    util: make env checking more generic
    
    Change the "env_check_mdmon" function to be more generic, accepting
    and environment variable name, as soon we will have a new use for it.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c30e53693e238d3b14113f5061c103b34f7a93c4
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:42 2008 +1100

    assemble:  combine the two create_mddev calls in to one.
    
    This delays the create_mddev call even further in the case where
    an array device name is given for --assemble.  It is now delayed
    until the 'name' of the array is also available.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d9b420a5cdd6c10ee42dfeea3026740fa787b050
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:40 2008 +1100

    intel: Avoid 'may be used before initialised' warning.
    
    When compile with -Os, the compile doesn't work out that the
    variable is always initialised before usage, so we tell it.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7f91af49ad09adc1b93346f7ad654e25534f35b7
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:37 2008 +1100

    Delay creation of array devices for assemble/build/create
    
    We will shortly be feeding more information into the process of
    creating array devices, so delay the creation.  Still open them
    early if the device already exists.
    
    This involves making sure the autof flag is in the right place
    so that it can be found at creation time.
    
    Also, Assemble, Build, and Create now always close 'mdfd'.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=adf0493cba2355fc3714e6ab265f2b6b7de894d8
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:35 2008 +1100

    Avoid opening md device twice in particular '--assemble' instance.
    
    When
       mdadm --assemble /dev/whatever
    
    is given, mdadm will treat it as though '--scan' were given, even
    though it wasn't.
    In this case, the code opens /dev/whatever twice, which is pointless.
    We already know /dev/whatever is open at this point, so remove the
    'open' and the tests, and make sure it is always closed afterwards.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6be1d39d1dafce71c9c7f5bc74ef3fbd30e3765e
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:31 2008 +1100

    Introduce new open_mddev which just does an open.
    
    Some cases we aren't interested in creating the mddev, just opening
    it.  Make those more explicit.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2399204dddcabcf629ccb57be1957010444fc0ea
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:10 2008 +1100

    Rename open_mddev to create_mddev
    
    This reflect that fact that more often than not it is creating things
    in /dev, and allows for a new open_mddev which does just that.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=aef35714a4e86d6e19af9eb2672b7cbcb041c9cb
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:09 2008 +1100

    Initialise ->container and ->member properly.
    
    Now that we are using these values, we need to initialise them
    properly.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d7ab966bb82d1dfe5d532ae7bcbe233e906628ae
Author: NeilBrown <neilb at suse.de>
Date:   Tue Nov 4 10:35:08 2008 +1100

    Move recently merged /sys/dev/ lookup into stat2devnum.
    
    But sysfs_init and stat2devnum try to convert stat information
    into an md devnum.  Combine all the value of both pieces of code
    into stat2devnum and have sysfs_init call that.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5c8d7dc132ff0059a4447f85562dbdcf43d1146e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Nov 4 10:34:53 2008 +1100

    cleanup an unused call to container2devname
    
    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=750b6fe656e31a3717b52cdaca6a3a90346bcbb8
Merge: 2eb91c81d8da5cfdc36c93d8daf405c95e8bac2f 35e3446bfeaa4f2a04517ac115710061b704d3a5
Author: NeilBrown <neilb at suse.de>
Date:   Mon Nov 3 07:20:54 2008 +1100

    Merge branch 'master' into scratch-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2eb91c81d8da5cfdc36c93d8daf405c95e8bac2f
Merge: 9c3220067be02b5ef4da6e51ec91f928572d5223 350ac35d1f427c858e4b3169aaffcbaba0db3e30
Author: NeilBrown <neilb at suse.de>
Date:   Mon Nov 3 06:40:12 2008 +1100

    Merge branch 'master' into scratch-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9c3220067be02b5ef4da6e51ec91f928572d5223
Merge: 6c766cf10178b9bae4ddcfd6b8de2d70f9d84568 4ebd3237119b1c1d701ea0c94795631883e449ed
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 30 17:02:49 2008 +1100

    Merge branch 'master' into devel-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6c766cf10178b9bae4ddcfd6b8de2d70f9d84568
Merge: 71d60c480ac37a20b0b7a896a818a5f0c9c55f1a 7b403fef7e97c16e1eb63773a278eb65c6dfd9a8
Author: NeilBrown <neilb at suse.de>
Date:   Thu Oct 30 13:59:11 2008 +1100

    Merge branch 'master' into devel-3.0
    
    Conflicts:
    
    	Incremental.c
    	super0.c
    	super1.c

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=71d60c480ac37a20b0b7a896a818a5f0c9c55f1a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Oct 28 10:55:31 2008 -0700

    Preliminary -As support for container member arrays
    
    Given an mdadm.conf like the following allow /dev/imsm and /dev/md/r1 to be
    created by "mdadm -As".
    
    DEVICES partitions
    ARRAY /dev/imsm metadata=imsm auto=md UUID=b98f5dbe-aa859e7b-0e369b89-a80986d4
    ARRAY /dev/md/r1 container=/dev/imsm member=0 auto=mdp UUID=3538e39c-b397c2e9-1aa031f9-2bc0eca4
       spares=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=1e7bc0ed08ce6781a78b886d22be64518ba921c5
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Oct 28 10:55:31 2008 -0700

    imsm: include members in ->brief_examine
    
    A prerquisite for getting imsm arrays assembled by mdadm -As.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=78d30f94c48020f4efcefe8332095e58a99f1e17
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Oct 28 10:55:31 2008 -0700

    imsm: copy raid device info when associating spares
    
    If a spare is included in the list of examined disks we need to copy in at
    least enough information to get the uuid of the populated container.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a575e2a7cd4533c0cfc8de08daddec9854e0df71
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Oct 28 10:55:31 2008 -0700

    imsm: return associated uuid for spares
    
    This prevents a uuid of all f's from being displayed when an imsm spare is
    listed along with active disks for mdadm -Eb.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=032e9e29538f42deec84841bc684e7b3964f8504
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Oct 28 10:55:31 2008 -0700

    Examine: fix MD_DISK_SYNC is a bit not a flag
    
    Examine() is actually looking at the ACTIVE bit.  This happened to work for
    imsm spares but now it needs to be fixed up.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=072b727f726d3c2a7913ba98e14431221e3da9bd
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Oct 28 10:55:31 2008 -0700

    imsm: update metadata immediately on "add spare" events
    
    ...without this the spare record is delayed until the next metadata
    event.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a54d52625a7b06dde6e00a91398c517ecf205fdd
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Oct 28 10:55:29 2008 -0700

    update copyright headers
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b01b06bda8dce132e6eb3c3826ad0f4b94ebdf43
Merge: 4abe6b708687f9982bfbc0629e1070bf49714fa3 b3d3195538e315b3863235731112eee7398d4340
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 27 10:10:08 2008 +1100

    Merge branch 'master' into devel-3.0
    
    Conflicts:
    
    	Create.c
    	Manage.c

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4abe6b708687f9982bfbc0629e1070bf49714fa3
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 27 10:04:46 2008 +1100

    ddf: get endian-ness of CRC correct.
    
    All numeric fields in a DDF header big-endian, including the CRC, so
    better fix that.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0febf9a94d89bac9fbbe314ca9bdb6c615616498
Author: NeilBrown <neilb at suse.de>
Date:   Mon Oct 27 09:57:30 2008 +1100

    Makefile: Include bitmap.o in mdmon
    
    A recent change causes mdmon to appear to need 'bitmap_sectors', which
    is in bitmap.o.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=492350045c7e40741069caa7d017209439db665b
Merge: 8aae4219a2668acb88ad2777dacf69de941e7e07 11cd8b79c0690bf39b40a25352f86a82a838622a
Author: NeilBrown <neilb at suse.de>
Date:   Fri Oct 17 12:46:23 2008 +1100

    Merge branch 'master' into devel-3.0
    
    Conflicts:
    
    	Manage.c

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8aae4219a2668acb88ad2777dacf69de941e7e07
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Oct 2 22:26:00 2008 -0700

    mdmon: suicide prevention
    
    mdmon cannot remove the pidfile at shutdown becuase it needs to stay
    running across the "mount -o remount,ro /" event.  When it relaunches
    after a reboot there is a good chance that the pid will match what was
    there previously.  The result is that the "take over for unresponsive
    mdmon" logic results in self termination.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=27dec8fae303ab356aa786e20414f89d60be08a4
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Oct 2 16:07:21 2008 -0700

    quiet WaitClean()
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=13047e4c0708ad06a6c0a07e79a080dade94df38
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Oct 2 15:50:23 2008 -0700

    mdmon: --switch-root
    
    For raid rootfs we cannot run the array unmonitored for any length of
    time.  At least XFS will not mount/replay the journal if the underlying
    block device is readonly (FIXME it also seems that XFS does not always
    honor the ro status of the backing device as I was able to hit the
    BUG_ON(mddev->ro == 1) in md_write_start... but I digress).
    
    So we need to start mdmon in the initramfs before '/' is mounted and
    then restart it after the real rootfs is available.  Upon seeing the
    --switch-root option, mdmon will kill any victims in the current
    /var/run/mdadm directory and then chroot(2) before continuing.
    
    The option is deliberately called 'switch-root' instead of 'chroot' to
    hopefully indicate that this is different than doing "chroot mdmon
    /dev/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=883a6142e64c6ed3e0dfeb28b2d9e48ddafd4c18
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Oct 2 15:42:57 2008 -0700

    mdmon: wait after trying to kill
    
    Now that mdmon handles sigterm if another monitor wants to take over it
    should wait until all managed arrays are clean.  So make WaitClean()
    available to mdmon and teach try_kill_monitor() to wait on each subarray
    in the container.
    
    ...since we may be communicating with a dieing process, we need to
    block SIGPIPE earlier.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6144ed441445ee4d567614aaed78dd24148881ce
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Oct 2 06:32:08 2008 -0700

    mdmon: terminate clean
    
    We generally don't want mdmon to be terminated, but if a SIGTERM gets
    through try to leave the monitored arrays in a clean state, block
    attempts to mark the array dirty, and stop servicing the socket.
    
    When we are killed by sigterm don't remove the pidfile let that be
    cleaned up by the next monitor.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=57ed8c9155d31ca78c48979f4f98d40e4c0deac3
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Oct 1 18:50:44 2008 -0700

    Treat all devices at the container level as spares
    
    Raid disk and disk number information is not relevant at the container
    level, especially for imsm.  So arrange for getinfo_super_imsm() to
    always publish devices as spares and report the number of spares at
    Assemble() time.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=36ba7d4849186b4c97bd6d5f905a390ff1de6f83
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Oct 1 18:50:44 2008 -0700

    Allow a uuid of all f's to always match
    
    The uuid returned for an imsm spare device will never match the uuid of an
    active disk.  So make mdadm interpret a uuid of all f's as "match any".
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=27fd6274148a492a46fa11adcadc2d4079be6f67
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Oct 1 18:50:43 2008 -0700

    imsm: show uuid in ->examine_super()
    
    ...and add "auto=md" to the brief output.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9968e376a17dd6d815473f05843b1f257b2babd5
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Oct 1 18:50:43 2008 -0700

    fname_as_uuid: print uuids msb first
    
    The sha1 routines store the uuids in little endian byte-order, so always
    print from msb to lsb. This allows imsm containers to be assembled with
    -As.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=695154b2e7f975527f8f3f9591f0a21474bfe1b1
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Oct 1 18:50:43 2008 -0700

    mdmon: periodically retry to create the socket
    
    If initial socket creation fails, EROFS, set a periodic alarm to wake up
    the manager and retry.  Include a kernel patch that will wake us up if
    the mount flags are changed.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1e4bc070a73716292c1681a86524f46f656f8acb
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Oct 1 18:49:53 2008 -0700

    sysfs_open leaks devnum2devname() result
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e6b9548dce2635d91a9debfe25b4af792a572e4e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:08 2008 -0700

    non-trivial warn_unused_result fix, prepare_update
    
    If an allocation fails in ->prepare_update we need to catch it in
    ->process_update.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=792449393d1792e1bdb45aedada395f345564484
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:08 2008 -0700

    non-trivial warn_unused_result fixes, activate_spare
    
    Both super-ddf and super-intel ignore memory allocation failures during
    ->activate_spare.  Fix these up by cancelling the activation.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=175593bf286d3593e3690b3b321388b24663910f
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:08 2008 -0700

    non-trivial warn_unused_result fixes, write_init_super_ddf
    
    When a write fails just move on to the next disk.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3d2c4fc7b6bed924f8d5d1eae9a164b191e1b6da
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:07 2008 -0700

    trivial warn_unused_result squashing
    
    Made the mistake of recompiling the F9 mdadm rpm which has a patch to
    remove -Werror and add "-Wp,-D_FORTIFY_SOURCE -O2" which turns on lots
    of errors:
    
    config.c:568: warning: ignoring return value of asprintf
    Assemble.c:411: warning: ignoring return value of asprintf
    Assemble.c:413: warning: ignoring return value of asprintf
    super0.c:549: warning: ignoring return value of posix_memalign
    super0.c:742: warning: ignoring return value of posix_memalign
    super0.c:812: warning: ignoring return value of posix_memalign
    super1.c:692: warning: ignoring return value of posix_memalign
    super1.c:1039: warning: ignoring return value of posix_memalign
    super1.c:1155: warning: ignoring return value of posix_memalign
    super-ddf.c:508: warning: ignoring return value of posix_memalign
    super-ddf.c:645: warning: ignoring return value of posix_memalign
    super-ddf.c:696: warning: ignoring return value of posix_memalign
    super-ddf.c:715: warning: ignoring return value of posix_memalign
    super-ddf.c:1476: warning: ignoring return value of posix_memalign
    super-ddf.c:1603: warning: ignoring return value of posix_memalign
    super-ddf.c:1614: warning: ignoring return value of posix_memalign
    super-ddf.c:1842: warning: ignoring return value of posix_memalign
    super-ddf.c:2013: warning: ignoring return value of posix_memalign
    super-ddf.c:2140: warning: ignoring return value of write
    super-ddf.c:2143: warning: ignoring return value of write
    super-ddf.c:2147: warning: ignoring return value of write
    super-ddf.c:2150: warning: ignoring return value of write
    super-ddf.c:2162: warning: ignoring return value of write
    super-ddf.c:2169: warning: ignoring return value of write
    super-ddf.c:2172: warning: ignoring return value of write
    super-ddf.c:2176: warning: ignoring return value of write
    super-ddf.c:2181: warning: ignoring return value of write
    super-ddf.c:2686: warning: ignoring return value of posix_memalign
    super-ddf.c:2690: warning: ignoring return value of write
    super-ddf.c:3070: warning: ignoring return value of posix_memalign
    super-ddf.c:3254: warning: ignoring return value of posix_memalign
    bitmap.c:128: warning: ignoring return value of posix_memalign
    mdmon.c:94: warning: ignoring return value of write
    mdmon.c:221: warning: ignoring return value of pipe
    mdmon.c:327: warning: ignoring return value of write
    mdmon.c:330: warning: ignoring return value of chdir
    mdmon.c:335: warning: ignoring return value of dup
    monitor.c:415: warning: rv may be used uninitialized in this function
    
    ...some of these like the write() ones are not so trivial so save those
    fixes for the next patch.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3f6efecc4ccc4b5e50ade7368cf825c372cda0cf
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:07 2008 -0700

    imsm: determine failed indexes from the most up-to-date disk
    
    load_imsm_disk() currently notices if spares missed their activation
    update, but we allow a stale failed disk back in to the array because its
    serial number is clobbered in the most up-to-date disk.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=47ee5a45661d30b1265b30731525a3a7f4cc7348
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:07 2008 -0700

    imsm: manage a list of missing disks
    
    If a drive is removed while mdmon is not running we need a way to
    identify what is missing and mark that disk as failed in the metadata.
    At ->load_super() time create a list of missing disks defined as a disk
    that is marked in-sync yet does not appear in super->disks.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1ee1e9fc62e74f56ca6786690f4247c4c7a8c1bb
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:07 2008 -0700

    imsm: fix mpb_size calculation in write_super_imsm
    
    Spotted a thinko... raid devices are dynamically sized, disks are not.
    The space for disks is always mpb->num_disks * sizeof(struct imsm_disk).
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f8f603f1337d58e73e0ce384322d6ee0668549ea
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:06 2008 -0700

    imsm: enable checkpointing of migration (resync/rebuild)
    
    When the array is shutdown, or when mdadm --wait-clean is called, any
    active resync process will be idled allowing mdmon to record the current
    resync 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=7146ec6a1efbd36087c406d0fe63480ec49da599
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:06 2008 -0700

    Extend --wait-clean to checkpoint resync
    
    Root file systems backed by external metadata arrays need to be
    explicitly checkpointed near the time the rootfs is marked readonly as
    userspace will not have an opportunity to react to the final shutdown of
    the array.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0dd3ba30aa1fbab2d7e62fca5169789ceb62b3f1
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:06 2008 -0700

    --wait-clean: shorten timeout
    
    Set the safemode timeout to a small value to get the array marked clean as
    soon as possible.  We don't write 'clean' directly as it may cause mdmon to
    miss a 'write-pending' event.
    
    Include a couple fixes to sysfs_set_safemode():
    1/ 0 pad the milliseconds field
    2/ workaround input truncation in the kernel
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=593add1b56877a6881419c2496eb26dd1f82d39b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:06 2008 -0700

    monitor: protect against CONFIG_LBD=n
    
    md/resync_start reports different terminal values depending on kernel
    configuration (~0UL versus ~0ULL).  Make detection of the
    resync-complete state more robust by comparing against array size.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=14e8215b1b996813e467ae6fba71b0e4f5690103
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sun Sep 28 12:12:03 2008 -0700

    imsm: trust sector reservation from metadata
    
    On ich6r the option-rom appears to reserve only 432 sectors rather than
    the 418+4096 of newer implementations.  For compatibility trust the
    metadata in these cases.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2a24d7b6964546a83409cc1300615b046767d013
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Sep 24 05:58:02 2008 -0700

    sysfs: dprintf when we fail to write a sysfs file
    
    When arrays do not startup correctly it would be nice to know why.  Need
    to move the dprintf definition to mdadm.h
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c92a2527e1f36ae8e3e83e0d7ca3ed5d269906ef
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Oct 15 14:15:47 2008 -0700

    imsm: confirm raid10 layout, fix up handling raid10 failures
    
    1/ near-2 indeed matches how the Windows driver lays out the data
    2/ update imsm_check_degraded to check for rebuilding disks in the
       raid10 case
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5c3db629a6e29839f82657131d8aa1d045f1fd3e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Oct 15 13:12:17 2008 -0700

    imsm: more serial handling fixups
    
    zero-initialize the serial buffer to handle cases where the response is
    less than MAX_RAID_SERIAL_LEN.
    
    Tested-by: Jacek Danecki <jacek.danecki 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=c04d54461f199dd31e2b83e07b3df5b71930898e
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 17:27:49 2008 +1000

    Updates version numbers for 3.0-devel1 release.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=04c0634e8f5bfc9e854b69b0fbbb6e2ad6793010
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 17:05:02 2008 +1000

    Don't try to set_array_info when -I find new devices for an array.
    
    When -I get a new device for a container and tries to incrementally
    assemble the container array, it calls sysfs_set_array to create the
    array without first checking if it already exists.  This produces
    unpleasant error messages.
    
    So check first.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=577527957206eafdfe78bd607abed5eafa09c130
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:43:59 2008 +1000

    Remove .sock file when removing .pid file for mdmon

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=dbb44303d7d3ad8fffb9e25c8ed6fd57afa57b95
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:21:08 2008 +1000

    Add support for assembling specific subarrays.
    
    This normally isn't needed as --incremental does all the work.
    But it is needed to recognise member= and container= in mdadm.conf

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=35ddc76dcbcb7ef5f1ca57e557bfa4c3cdf6a6eb
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:12:28 2008 +1000

    Use common code to report MD_UUID for --detail --export
    
    As we need to be able to extract a UUID from any superblock
    for matching, use that as the MD_UUID as it will probably be
    used for array matching too.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ff54de6e47163944185f231700e72d3122b58f4c
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:11:40 2008 +1000

    Report uuid in --detail --brief for ddf and intel
    
    The uuid is slightly fictitious but needed for array matching.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d7288ddc3a06a0912f5f0a3f23ccca76a66ff332
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:08:10 2008 +1000

    Use uuid as /dev name when assembling array of uncertain origin.
    
    If we aren't sure that the array belongs to 'this' host, use the
    uuid to choose a name to avoid any conflict.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=51006d85865f8fd1bb495bfc37fb83414117f149
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:07:32 2008 +1000

    Add uuid support for super-intel.
    
    'imsm' does not provide any real uuid, so we synthesise one
    from various stable bits of the superblock.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9362c1c80c4464fb66e3cc9eb8ba7631f21810d7
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:06:41 2008 +1000

    Allow metadata handler to report that it doesn't record homehost.
    
    For now, this means that the lack of a homehost doesn't always prevent
    assembly.
    Soon we will allow assembly anyway, but have different messages if
    homehost isn't supported.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ffcfc735a5114290cb6b3063c8a5fddddc384a36
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:03:08 2008 +1000

    Don't allow spares when creating 'external' arrays.
    
    It is meaningless when creating the container, and for
    subarrays, the container is responsible for assigning
    spares.
    
    Also, don't do the 'spare' fiddle for raid5 as we cannot
    set up a spare at this point yet.  Later maybe just create
    the array degraded and let the container sort it out.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c5afc314e2c36d54bf78b0d0049995c0f2df821c
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:03:05 2008 +1000

    Lots of fixes to make incremental assembly of containers work.
    
    So:
      mdadm -I /dev/whatever
    
    will (if appropriate) add whatever to a container, then start
    any arrays inside the container.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=352452c3648f683d5ee60c62ab243c37af87ada1
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:01:57 2008 +1000

    Handle incremental assembly of containers.
    
     mdadm -I /dev/part-of-container
    
    should add that to a container, creating if it needed,
    and then try to assemble any arrays in the container.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f35f25259279573c6274e2783536c0b0a399bdd4
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 16:01:55 2008 +1000

    Move calls to SET_ARRAY_INFO to common helper.
    
    When we assemble an array, there are three different approaches
    depending on whether metadata is internal or external, and on
    kernel version.
    
    Move all this to a common helper instead of duplicating in 3 places.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7801ac209240ca5d5159d2ab990dd8d5573e2195
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 15:13:32 2008 +1000

    Factor out add-disk code
    
    The variety of approaches to 'add_disk' are factored out into
    a separate function, and Incremental mode benefits by being
    closer to supporting the assembly of containers.
    
    Also remove the adding-to-array-data-structure out of sysfs_add_disk
    and into add_disk.
    
    And add some tests for --incremental mode to make sure we don't break it.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9b2a22d319a85c1571c776e7059d9ca4bf1a0f0a
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 15:07:45 2008 +1000

    Ignore leading zeros in version number information.
    
    --detail sometimes generates leading zero which are just noise.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7b187ed7e95e81f3f623a718c7aabaa081f79e90
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 15:05:46 2008 +1000

    Allow --config in --incremental mode.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c69b251bc7a225a5457635fdf510c2ccca79c74d
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 15:05:20 2008 +1000

    Teach --detail about containers and members there-of.
    
    Make --detail on a container more useful by suppressing irrelevant
    detail and adding useful detail like a list of member arrays.
    
    Ditto for members of a container: report the name of the container
    array.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0e6004268370082b3af89e73c356f4ada5ca31c2
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 15:04:47 2008 +1000

    Compile fixes, particularly moving more stuff under MDASSEMBLE
    
    Now 'make everything' works again.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1cccd683f3a77f269ae8183277e9da8ee1c2d7b7
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 14:33:37 2008 +1000

    Disable compilation with diet-libc
    
    We need posix_memalign (or something similar) which diet-libc does not
    provide.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a8473e68c7ed263c3379945977b25df075479025
Author: NeilBrown <neilb at suse.de>
Date:   Thu Sep 18 14:10:42 2008 +1000

    Fix compile warning/error.
    
    gcc said:
      error: large integer implicitly truncated to unsigned type
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=295646b3d59c7d8d8c389ff320b30e61552ba331
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:43 2008 -0700

    mdmon: recreate socket/pid file on SIGHUP
    
    Allow mdmon to start while /var/run/mdadm is readonly.  Later a SIGHUP
    can trigger mdmon to drop its pid and socket once /var/run/mdadm is
    writable.  Of course one needs the pid to send a HUP, that can be stored
    in a distribution specific rw-init directory... For now, rely on a
    killall -HUP mdmon to get the files dumped.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=313a4a82f130e6668ba0f4550200662e168aa945
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:43 2008 -0700

    ping_manager() to prevent 'add' before 'remove' completes
    
    It is currently possible to remove a device and re-add it without the
    manager noticing, i.e. without detecting a mdstat->devcnt
    container->devcnt mismatch.  Introduce ping_manager() to arrange for
    mdmon to run manage_container() prior to mdadm dropping the exclusive
    open() on the container.  Despite these precautions sysfs_read() may
    still fail.  If this happens invalidate container->devcnt to ensure
    manage_container() runs at the next event.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4795982e68f72ef44bd29c9883e5f6291088a3e1
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:43 2008 -0700

    sysfs: detect disks that are in the process of being removed
    
    When removing a disk there is a window where the 'slot' attribute of
    md/dev-$name will return -EBUSY to read attempts.  When this happens
    look at the the 'block' link, if it is removed then we can be sure the
    device has been removed, versus some other 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=4065aa816a64e9909ba1106640951f1dd490c4d0
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:43 2008 -0700

    monitor: clean up some debug messages
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=93f7cacab36cfe61e8e6360f33c36391856b9d17
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:43 2008 -0700

    mdmon: resume rebuild
    
    If we started a degraded array that was previously rebuilding we may
    have enough information to resume the rebuild without a trip through the
    monitor.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e553d2a45890e7341612a0f670d3ff00a2986678
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:42 2008 -0700

    imsm: allow a failed disk to be readded
    
    Allow the following sequence to rebuild the array
    mdadm --fail /dev/md/r1 /dev/disk
    mdadm --remove /dev/imsm /dev/disk
    mdadm --add /dev/imsm /dev/disk
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1770662bcac724915520fd0784b6f806c8d96752
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:42 2008 -0700

    'mdadm --wait-clean' wait for array to be marked clean
    
    For use in distro shutdown scripts with a RAID root file system.
    Returns immediately if the array is 'readonly', or not an externally
    managed array.  It is up to the distro's scripts to make sure no new
    writes hit the device after this returns 'true'.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c94709e83f662c4780aa9c6917b03c774747eca5
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:42 2008 -0700

    Add ping_monitor() to mdadm --wait
    
    The action we are waiting for may not be complete until the monitor has
    had a chance to take action on the result.
    
    The following script can now remove the device on the first attempt,
    versus a few attempts with the original Wait():
    #!/bin/bash
    #export MDADM_NO_MDMON=1
    export IMSM_DEVNAME_AS_SERIAL=1
    ./mdadm -Ss
    ./mdadm --zero-superblock /dev/loop[0-3]
    echo 2 > /proc/sys/dev/raid/speed_limit_max
    ./mdadm --create /dev/imsm /dev/loop[0-3] -n 4 -e imsm -a md
    ./mdadm --create /dev/md/r1 /dev/loop[0-3] -n 4 -l 5 --force -a mdp
    ./mdadm --fail /dev/md/r1 /dev/loop3
    ./mdadm --wait /dev/md/r1
    x=0
    while  ! ./mdadm --remove /dev/imsm /dev/loop3 > /dev/null 2>&1
    do
            x=$((x+1))
    done
    echo "removed after $x attempts"
    ./mdadm --add /dev/imsm /dev/loop3
    
    Include 2 small cleanups:
    * remove the almost open coded fd2devnum() in Wait() by introducing a
      new utility routine stat2devnum()
    * teach connect_monitor() to parse the container device from a subarray
      string
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0c0c44db5ae98452c9c69bffc35b031c9fd7acea
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:42 2008 -0700

    monitor: don't mark dirty on resync complete
    
    ...instead look at array state to determine if the array is consistent
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d797a0621f08c799ca7c21a2b3b8eedaf19fc7aa
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:42 2008 -0700

    monitor: mark clean on active-idle
    
    This also handles the case where 'clean' is set directly.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8ed3e5e1bf5b08884b68c3ef5c3e393adaa3c9ba
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:42 2008 -0700

    Honor safemode_delay at Create() and Incremental() time
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=301406c9fdb98bbdc0d04ab4e4dec0692977e777
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:42 2008 -0700

    imsm: use ->getinfo_super() in ->container_content()
    
    * allows container_content() to pick up the safemode_delay
    * removes some duplicate code
    * fixes an endian bug setting info->array.chunk_size
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a67dd8cc58845b3375cba9bc45e20ed0d03d2034
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:42 2008 -0700

    Allow metadata handlers to communicate desired safemode delay via mdinfo
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d2534825272003cb1735ff6676fba57b66c7eb95
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    Makefile: Add mdmon header dependencies
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1f24f035305cb22a1c4f72c972753380d2d9cdfe
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    imsm: fix up serial handling
    
    * Trim trailing and leading whitespace
    * Allow unterminated serial numbers up to MAX_RAID_SERIAL_LEN
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f9ba0ff1241014b8cee9e929c565dfa3c6531fa8
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    imsm: only use the device name as a fallback when IMSM_DEVNAME_AS_SERIAL=1
    
    Also ensure that the serial buffer is initialized.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0c046afd066972c8dd741cb7a78073327209ab7b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    imsm: rectify map handling
    
    The secondary map is used to reflect the migration state of the array
    i.e.  from dev->vol.map[1] to dev->vol.map[0].  Ensure a rebuilding /
    initializing array is marked in the second map, while normal status is
    reflected in the first map.  Also mark rebuilding drives with
    IMSM_ORD_REBUILD.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=24565c9a99e291edb773e1d2dc9478949792ca39
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    imsm: fix imsm_delete()
    
    * fix breakage from last merge (infinite loop in imsm_process_update())
    * add ability to delete by index
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b10b37b8390efd7bc2cb03f895ee91ba3bbaaef5
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    imsm: use IMSM_ORD_REBUILD instead of USABLE flag
    
    IMSM_ORD_REBUILD is the 'insync' flag in MD terms.  USABLE is a flag to
    opt-in disks for use with the Windows driver.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=be73972fac29beecbe4ca8b2dc7abee33e6ce3f2
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    imsm: introduce set_imsm_ord_tbl_ent()
    
    Collapse all the open coded occurrences.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fb49eef264858b61193e19f204abae5c0c54e4d7
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    imsm: cleanup arguments to imsm_check_degraded
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ff077194a1d8b20975f577c0c03f503848aad466
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:41 2008 -0700

    imsm: cleanup get_imsm_disk_idx(), unify with get_imsm_ord_tbl_ent()
    
    Save some unnecessary calls to get_imsm_map() by teaching
    get_imsm_disk_idx() to retrieve the map.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3e372e5a7299d1f969c02b4ecf10b7df0998926d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:58:40 2008 -0700

    imsm: fix up compare_super_imsm() to match family_num for populated mpb's
    
    This allows spares to be associated with any family while not allowing
    disks from different families to be assembled.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e0783b419d674815e548960167dd02952900c4a6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:55:40 2008 -0700

    imsm: fix up spare handling holdover in update_create_array
    
    We used to leave SPARE_DISK unset to indicate it was available to be
    assimilated into other arrays.  Now we explicitly check the size.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8796fdc4cda2fdc4b1359e51388f7bc49e790c68
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:55:34 2008 -0700

    imsm: mark failures like the Matrix driver
    
    * Truncate the first character of the serial number
    * Set 'scsi_id' to all f's
    * Expect to find disk entries with unmatchable serial numbers, i.e.
      expect get_imsm_disk() to return NULL in some situations
    * Allow discrepencies between mpb->num_disks and len(super->disks)
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4d7b1503a719fac929f598697f371a2f09f120aa
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:55:34 2008 -0700

    imsm: provide for a larger mpb buffer when necessary
    
    Ensure that the mpb buffer is large enough to hold the extra imsm_map's
    of migrating arrays and dynamically created raid devices.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fb9bf0d3e77c3bf91d7029f3ab9f3d416b223e65
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Sep 15 20:55:30 2008 -0700

    imsm: fix logic inversion in get_imsm_ord_tbl_ent()
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=94a20f0c800fd0aa9c26e99750bd2588cae8f038
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 19 17:55:15 2008 +1000

    Fix alignment for backup of reshape data.
    
    Since we introduced O_DIRECT for device access we need
    properly aligned buffers and IO requests.  The reshape code
    missed out on the conversion.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e9dd159873cfa0da1ec3e4f173c24f330ea526f8
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 19 17:55:15 2008 +1000

    Allow an externally managed array to be marked readonly
    
    If the metadata_version is
        -mdXXX/whatever
    rather than
        /mdXXX/whatever
    
    then the array is readonly and should be left alone by mdmon.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3c558363a1991430e8a9e10c93ee9ee3f8996940
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 19 17:55:15 2008 +1000

    Factor out test for subarray version string.
    
    We are about to change the syntax of the version string
    for 'subarray's.  So factor out the test into a single function.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6c386dd368ca1d24554fbf700239e8aa222591fb
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Aug 19 17:55:15 2008 +1000

    imsm: allow container assembly in the presence of failed disks
    
    For example, this allows one to still say mdadm -A /dev/sd[b-e] even
    though /dev/sde has replaced /dev/sdd.  Otherwise mdadm will say:
    
    	mdadm: superblock on /dev/sdd doesn't match others - assembly aborted
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=567df5fd0a18ed8eed6ee24fb7991b963f56efa0
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 19 17:55:15 2008 +1000

    Fix bug with ddf if devices have different sizes.
    
    We cannot use the header of the 'best' device to find the
    sections on the other devices!!
    
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2cc2983d80294d948dd86f4973d4cc3ecfe246c0
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 19 17:55:15 2008 +1000

    Provide ddf support for adding a device to an active container.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=43dad3d6fb475bfefd2028e9dea1c15a83bb2d03
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Aug 19 17:19:51 2008 +1000

    mdadm: add device to a container
    
    Adding a device updates the container and then mdmon takes action upon
    noticing a change in devices.  This reuses the container version of
    add_to_super to create a new record for the device.
    
    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=7bc1962f8c725cdd9e185d924f6894178e6dfec9
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Aug 19 14:55:12 2008 +1000

    mdmon: remove devices from container
    
    Once the monitor thread has kicked a drive from all managed arrays mdadm
    -r is permitted.  We are guaranteed that the drive is marked failed at
    this point, so allow the drive to be re-added as a 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=ae6aad82398085e07c922fbfa667a5f6ec5dd7e6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Aug 19 14:55:10 2008 +1000

    imsm: delete kicked disks
    
    When we have determined that a disk is no longer of any value, remove
    it from the data structure.   This is now safe because the manager
    will back off while any metadata update is pending in the monitor.
    
    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=0b5ec75e011e986286c2a6f9f3491427e9bde446
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 19 14:55:07 2008 +1000

    Fix mdstat_wait_fd
    
    It didn't necessarily wait for the fd.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3c00ffbe985218d6a1d34087f3c62f59668bdf6d
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 19 14:55:03 2008 +1000

    Make metadata updates from manage to monitor 'synchronous'
    
    A metadata update may modify the data structure of the metadata
    including freeing things, so it is not safe of the manager to touch
    the metadata while an update is pending in the monitor.
    So When an update has been submitted, don't do anything else in the
    manager until it is complete.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=01f157d74ab29d3acf46800ffdaac3a0d0345b51
Author: NeilBrown <neilb at suse.de>
Date:   Tue Aug 19 14:54:55 2008 +1000

    Extra option for set_array_state: you choose dirty or clean.
    
    When we first start an array, it might be good to start recovery
    straight away.  That requires setting the array to 'dirty', but
    only the metadata handler can know if that is required or not.
    So have a third possible 'consistent' option to set_array_state.
    Either 'no' or 'yes' or 'you choose'.
    
    Return value indicates what was chosen.
    
    '1' (no) should be chosen unless there is a good reason.
    
    Signed-off-by: NeilBrown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9296754385aa1fecb45097ba06fc82cbc0e5f14a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jul 29 19:25:15 2008 -0700

    mdmon: handle failures versus readauto arrays
    
    Transition readauto arrays to active before failing drives.
    
    Hmm... why do we keep reblocking / renotifying in the readonly case?
    Need to bottom out on this, but not right now.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f1d267661dc681dfe9bc1c9c6ad246617206d30f
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Aug 15 10:58:43 2008 -0700

    mdmon: allow degraded arrays to be monitored
    
    manage_new is too strict in the face of failed devices.  Teach it to
    monitor degraded arrays.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fcb844757f8cee1221fb0f7e2b4ced14e44cb572
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Aug 15 10:58:42 2008 -0700

    imsm: include not synced disks in imsm_count_failed
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7eef045331d450ee19ff2d51894b1b25e81247a0
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Aug 15 10:57:19 2008 -0700

    imsm: use disk_ord_tbl to identify rebuilding disks
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9a1608e5d03ad048d4915302f4fa132b8f26f515
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Aug 12 02:25:49 2008 -0700

    imsm: fix up assembly of disks that are not in-sync
    
    1/ Do not assemble !in_sync or failed devices in container_content.
    2/ Prevent activation of failed or configured devices in activate_spare.
    3/ Be sure to avoid dirty degraded if the array was shutdown cleanly.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6a3e913ee97f23c3a2d0ac9b341ab4e26058f73a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Aug 12 02:25:49 2008 -0700

    imsm: fix create by mdmon-update
    
    imsm_dev dynamically grows, so dev_idx needs to be moved up in the
    definition to avoid getting clobbered.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e74255d9077e9379ef56873a0da7c04ea9df4363
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Aug 12 02:25:49 2008 -0700

    imsm: write_super return 0 on success
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a48ac0a8d626bbf1d3bd798a212512402e6ead5e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Aug 9 20:28:24 2008 -0700

    imsm: update mpb_size in write_super_imsm
    
    With dev->vol.map and mpb->disk entries entering and leaving the parameter
    block write_super_imsm needs to update the size before writeback.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=272906ef4906002a4238e0388fa2e7e8387995ad
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Aug 12 02:25:46 2008 -0700

    mdmon: use activate spare for re-add
    
    Disks that are not in-sync or failed are not assembled into member
    arrays by mdadm.  Teach mdmon to resolve this situation by checking for
    spares at start.  imsm_activate_spare() is updated to prefer devices
    that can be re-added versus new spares.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3393c6af8b740131632197b2908ef91467d85160
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Aug 9 20:28:24 2008 -0700

    imsm: fix handling of the 'migr_state' and 'migr_type' bits
    
    The option-rom and the Matrix driver mark resyncs/rebuilds with the
    migrate state bits.  Update sizeof_imsm_dev to allow allocation of
    imsm_dev entries large enough to grow if migr_state is later set.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a965f303c77dc98de2f59fc3af2d84c7a7d6d5a0
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Aug 9 20:28:24 2008 -0700

    imsm: add get_imsm_map and sizeof_imsm_map
    
    retrieve map entries from a imsm_dev, and cleanup imsm_copy_dev
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=828408ebefb8cb050757b0d473b8a5cd28fdc530
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Aug 9 20:28:24 2008 -0700

    imsm: drop 'external' from imsm_examine_brief
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=19859edc2d484a0fc05befa924a57cf576ab65bd
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Aug 9 20:28:24 2008 -0700

    imsm: ensure 'usable' remains clear until the disk is in_sync
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d23fe9472d47e136a56fec17d072dab41e88e505
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Aug 6 09:09:25 2008 -0700

    imsm: spare devices are represented as single disk containers
    
    This poses a small problem for the case of handling multiple raid1 arrays
    across separate disk pairs i.e. 2 mirrors on 4 disks.  The option-ROM will
    configure this as two containers.  We may need the capability for one
    container to ask for an unused spare in another container.  For now spares
    will just maintain the affinity established at assemble time.
    
    To support this configuration spare devices must be allowed to be assembled
    into the container even though the metadata indicates the disk belongs to a
    different family.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b9f594fea0c7e2060a775dae11feb01a7c02dbd4
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Aug 7 23:57:50 2008 -0700

    imsm: store imsm_disk entries in the super->disks list
    
    removes the need to lookup the disk by index in a few cases and is a
    preparation step for tracking spares outside the current anchor.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=63d7cc784b7cfb2c6086f33bb6cad873b7d21968
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Aug 7 11:54:09 2008 -0700

    mdmon: use 'recover' instead of 'repair' when activating a spare
    
    Repair sets MD_RECOVERY_REQUESTED in md which may not result in the
    spare device being recovered.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3dff19c8e867360b703f864497d8d0e0fb95a568
Merge: 37ea3936a696c2b102963ba5117165ef6be8d4b4 604b746f7c36f1c8f5a914f8bf57e716804f8b1b
Author: NeilBrown <neilb at suse.de>
Date:   Thu Aug 7 17:46:44 2008 +1000

    Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/mdadm into dan

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=604b746f7c36f1c8f5a914f8bf57e716804f8b1b
Author: Jacek Danecki <jacek.danecki at intel.com>
Date:   Wed Aug 6 23:55:53 2008 -0700

    imsm: bad block management (phase1)
    
    This is the initial defensive implementation of bad block management
    support.  It simply precludes assembly if there are entries in the bad
    block logs.  This is sufficient for now as the conditions that lead to
    an entry in the bad block log would cause the array to be failed by MD
    (as of 2.6.27).
    
    [dan.j.williams at intel.com: general cleanups]
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=115c380305b15112716792bb03b5ea59d1ec6060
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Aug 6 23:53:44 2008 -0700

    imsm: do not mark arrays 'clean' if resync still in progress
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a380c027e3243a11993f2ec280a0cded2dfafa21
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Aug 6 23:53:44 2008 -0700

    imsm: raid5 layout is left-asymmetric
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=37ea3936a696c2b102963ba5117165ef6be8d4b4
Merge: 9ca2c81c0f8bd37ef24e5e3ac898ffb6cfd00117 e5669f40047ba0a8354418d0af5f7e7d862aaea4
Author: NeilBrown <neilb at suse.de>
Date:   Thu Aug 7 14:12:25 2008 +1000

    Merge branch 'master' into from-stable
    
    Conflicts:
    
    	Create.c
    	Manage.c

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=836759d561453e7777a233122ec6acba8663a180
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jul 29 19:01:06 2008 -0700

    mdmon: ignore inactive arrays and other manage_new() cleanups
    
    While mdadm is constructing an array mdmon may see an intermediate state
    (some disks not yet added / redundancy attributes like sync_action not
    available).  Waiting for mdstat->active == true ensures that the array
    is ready to be handled.  This fixes a bug in create array via mdmon
    update whereby failures are not detected in the new array.
    
    Introduce aa_ready() to catch cases where the active_array is not
    correctly initialized.  Barring a kernel bug this should never trigger,
    nonetheless it precludes a class of bugs like the one mentioned above
    from triggering.
    
    Cleanup the exit paths and only call replace_array when the new array is
    ready to be inserted into container->arrays.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9ca2c81c0f8bd37ef24e5e3ac898ffb6cfd00117
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jul 25 17:45:13 2008 -0700

    imsm: trim some memory wastage
    
    drop the previously loaded data as load_imsm_super_all loops through the
    disks.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=949c47a0fa2d0f4bab839b5f0bcd14fb9c105c8f
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jul 25 16:59:47 2008 -0700

    imsm: refactor mpb handling into parse and coalesce
    
    Maintaining a single global buffer is unwieldly when extending/rewriting
    sections of the metadata.  Parse the metadata into component data
    structures upon reading and coalesce to a coherent buffer before
    writing.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=16ddab0dafa2545aacf5361ce51cf10e150d2173
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:24 2008 -0700

    mdmon: don't fork if DEBUG

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f54e6321a2efa01ea22cd6538c1e0e00b38c01fd
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:24 2008 -0700

    imsm: use component_size not total array size in container_content_imsm
    
    Also kill setting ->array.size as nothing appears to be using it.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fcfd95998b3b18ed44fc4f4ad34098f0ac04012f
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:24 2008 -0700

    imsm: take chunksize into account when calculating blocks_per_member
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=755c99faf2d51c133c49ada9700acd4b8cc961c0
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:24 2008 -0700

    sysfs: deprecate sysfs_disk_to_sg
    
    The cmd_filter patch merged for 2.6.27 broke retrieving the serial
    number via an ioctl to /dev/sgN.  In debugging this I found that other
    utilities like sdparm simply run the ioctl on /dev/sdX.  So just convert
    to that for protection in numbers, but scream on the mailing list for
    the inconvenience grr...
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=eb7ea4630f2df057f4df36eed7a1ec03150f0e76
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:23 2008 -0700

    imsm: fix store_zero_imsm breakage from posix_memalign conversion
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0030e8d6903bcdaad65bdf9571d5ceb06318f1bf
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:23 2008 -0700

    imsm: debug environment variable to use 'device name' as 'serial number'
    
    Facilitate using loopback devices for the imsm regression suite
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e9d82038f800b699a43465410f25189975c5d63e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:23 2008 -0700

    imsm: allow --examine to succeed with damaged metadata
    
    limp along after seeing mismatched serial numbers
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5802a8118e447833749cbf0fe7b909f3c7d8349d
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:23 2008 -0700

    imsm: handle degraded->normal transitions in set_disk
    
    Removes the need for the call to ->set_array_state when sync_action
    transitions from 'recover' to 'idle'.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8273f55e4f18e14c7aa67ab4c52cd37fbcac2902
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 24 17:26:19 2008 -0700

    imsm: create array via update to mdmon

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4ad866b1323435eb34d3b5faa74767fe9d9183c1
Author: Jacek Danecki <jacek.danecki at intel.com>
Date:   Mon Jul 21 17:42:12 2008 -0700

    install mdmon to the same location as mdadm
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ef649044b7e1cc1742ec9fc89a6f83061691a0ff
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 21 17:42:10 2008 -0700

    imsm: remove some casts
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5257ce365b9fe36e0a5f4399ecbe98aad770fb44
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 21 11:08:20 2008 -0700

    imsm: activate_spare: fix handling of data_offset
    
    Neil rightly points out that imsm_activate_spare may skip valid free space
    on a spare, fix this up.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5545fa6d94dd01c388c9df8e3280780352d2a53e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jul 18 17:47:34 2008 -0700

    Document MDADM_NO_MDMON
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=800053d6003f78e7302144bbacb4ccb488721c2e
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jul 18 17:47:13 2008 -0700

    Documentation fixup for stripe_cache_size
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a5ee6dfbf506424103d4de6579037836858bea72
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jul 18 17:14:44 2008 -0700

    Document preread_bypass_threshold
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=eb2c876f4deef9da9eda6359647e2f6ad2083957
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:28 2008 +1000

    msg: add a timeout to ping_monitor
    
    Though it should never bee needed, having a timeout in ping_monitor is
    a sensible safeguard.
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=33af8567de2f7b353abb53a0f6e9cffdc136a622
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:26 2008 +1000

    monitor: call get_resync_start on array shutdown.
    
    If the array is shutdown as soon as resync finishes, we might not
    notice the resync finish.  So on array shutdown, check for current
    resync pos.
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ada6c2390a0a3a4572a8931823e6a83874d54509
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:25 2008 +1000

    Manage: sync with mdmon before stopping containers.
    
    mdmon sometimes opens the container.  That will prevent 'stop'
    from working.  So sync with mdmon first.
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4b9d39fc17b2449bfc8c696e5137cefd676841c2
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:24 2008 +1000

    Manage: fixed some error message in --stop
    
    Explain the meaning of 'quiet' explicitly, and fix some grammar
    and formatting.
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9fe32043178f221526b6d59f3bbce58f777089da
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:20 2008 +1000

    mdmon: fork and run as a daemon.
    
    start_mdmon now waits for mdmon to complete initialisation and,
    importantly, listen on the socket, before continuing.
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8dfb8619f928d58ac7369c42e9f94dd0dabfed4b
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:18 2008 +1000

    sysfs: avoid possible data corruption in sys_load.
    
    Don't retry to remove a newline from the end of an empty string.
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7364918895b6b014d1a675c38973845cdf3baf41
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:16 2008 +1000

    Correct readlink usage in sysfs.c
    
    readlink doesn't nul-terminate the returned string, so we must
    be sure to do that.
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=44d2e36556921e82a9fde02b554f799741c92531
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:13 2008 +1000

    Don't assume that mdmon is in the current directory.
    
    Rather, assume that it is in the same directory from which
    mdadm was run.  If not, then maybe /sbin or current directory.
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8850ee3e1ea01d4ded658fd83002fd93a81d6e99
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:11 2008 +1000

    Factor common code into new "start_mdmon".
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=daf7a3ce96e517360b0456c3a9cca0771b94462d
Author: Neil Brown <neilb at suse.de>
Date:   Fri Jul 18 16:37:09 2008 +1000

    Stop managed arrays more carefully.
    
    If an array is being managed by mdmon, then just
    write "inactive" to stop it, and let mdmon do the
    final "clear".  This makes sure mdmon has a chance
    to read the final state and update the metadata properly.
    
    After writing "inactive" with use "ping_monitor" to synchronise
    with mdadm, then STOP the array just in case it is still running,
    else we will get into an infinite loop in "mdadm -Ss".
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1eb252b8488bbdd62ad602561fe8a90ef9079271
Author: NeilBrown <neilb at suse.de>
Date:   Fri Jul 18 16:37:06 2008 +1000

    mdmon: ping will wait for manage_mon to catch up.
    
    When a 'ping' (empty message) is sent to mdmon, we wait for
    'monitor' to do a full loop to make sure it has caught up
    with anything that needs doing.
    This allows synchronisation between mdadm and mdmon.
    
    Maybe monitor should signal managemon rather than managemon polling...
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=103f2410ec581620367d6fde67a3a62f077062a7
Author: Neil Brown <neilb at suse.de>
Date:   Fri Jul 18 16:37:04 2008 +1000

    Make sure resync_start is initialised properly and maintained properly
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=120f767760a7a4a5c6d605eec91d3cec4ebc32a1
Author: Neil Brown <neilb at suse.de>
Date:   Fri Jul 18 16:37:03 2008 +1000

    ddf: endian fixes.
    
    We forgot to convert endian for lba_offset at one point,
    and use le32 instead of be32 right nearby!!
    
    Signed-off-by: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=00e021427e78b8eefad5b4521fd6f27c59ebe968
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 14:59:39 2008 -0700

    mdmon: close possibility of re-marking the metadata dirty on shutdown
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0a6bdbee8d9be67f1d72d26d9a43cdc2834d8c54
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 14:59:39 2008 -0700

    mdmon: notify metadata of recovery completion
    
    Array may no longer be degraded.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=272bcc48d18b6f8dd89f3181b166e1fabfbd5b7b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 14:59:39 2008 -0700

    mdmon: initialize component_size in manage_new
    
    When we go to activate a spare for an array we expect ->info.component_size
    is valid.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2cc98f9ea58485e1f539f77ba3eb5d9788908ae6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 14:59:39 2008 -0700

    mdmon: close small window of invalid mon_tid
    
    There is a small chance that the manager tries to wake the monitor before
    mon_tid is set.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5dcfcb715d91f7d2f45afaaabb93ad311e384ea6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 14:59:32 2008 -0700

    mdadm: add an environment variable to prevent auto-launching mdmon
    
    Useful for attaching gdb to mdmon before any action is taken on the array.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=00451d9874869831bd116e966f12c88a0fc70fb5
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 14:10:02 2008 -0700

    managemon: don't treat sysfs_add_disk as boolean function
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e8319a19f29549db4c22ff60041e9d0d6223e992
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 14:10:02 2008 -0700

    imsm: process update
    
    Handle 'activate_spare' events

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=88758e9daa757607663ffb03199805b21c7072cd
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jun 24 22:21:21 2008 -0700

    imsm: 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=2da8544a396adc9f6b1cd1935fc3520b6ed41170
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 13:59:56 2008 -0700

    imsm: metadata only supports a global 'data_offset'
    
    When creating a volume a drive must have free space starting at the same
    location as all the other drives in the array.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ef6ffaded436cc15c9e12cdb36fad1c3e9767ec1
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jun 24 21:56:19 2008 -0700

    imsm: fix raid1 creation
    
    Need to supply dummy values for the chunk size and number of data stripes
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0372d5a2f472eb0b1d07b03661c35f51cec5fe0c
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 13:57:33 2008 -0700

    imsm: fail ->open_new if container_member is out of range
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a3d6757fbf1f24b885b44967055677e406e39884
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 13:56:42 2008 -0700

    imsm: kill obsolete call to fsync() in store_imsm_mpb
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2c092cada6b41730ad1434a3a3a1383bb9ec6868
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Sat Jun 21 00:19:53 2008 -0700

    imsm: fix insufficient mpb buffer allocation
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

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

    imsm: catch posix_memalign allocation failures
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bf5a934aff850a0249d1daf5c4f55ad934f38c01
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Tue Jun 24 06:16:44 2008 -0700

    imsm: remove extra superswitches
    
    Following the lead of 75ede16d.  This incidentally fixes creation of a second
    array by gating call to getinfo_super_imsm_volume with a valid ->current_vol.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=99e29264234dcb00cb740e0b7d7186fe239369bd
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jul 14 13:55:02 2008 -0700

    imsm: fix store_imsm_mpb() alignment for O_DIRECT
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f7f1b6a1dbdce3df1fb5408991f8bf364a612f15
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:28:38 2008 +1000

    Print used message in place of "default metadata" message.
    
    When creating an array in a container, print e.g.
       Creating array inside ddf container /dev/whatever
    rather than
       Defaulting to version /md127/1 metadata

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=77472ff8d0a7e72b2da72c05dbbe1bf1adc0f2ca
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:28:38 2008 +1000

    Introduce devname2devnum
    
    and use it instead of opencoding.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d7161f3b5150d217c8cbbf16a5d567885679b7b8
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:28:38 2008 +1000

    Fix fd comparison in Incremental
    
    fd==0 is theoretically possible...

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2c514b7120a5e58cf803c854c047de03bd774730
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:28:38 2008 +1000

    Pass 'verbose' flag to validate_geometry
    
    That way it can be silent when we are just trying to figure out
    which metadata to use, and noisy when detecting a real problem.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=047d2e49f52a25cc88781d11cd83e147791975d6
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:28:38 2008 +1000

    Correct unit conversion for component_size and dev/size in sysfs.
    
    These are both Kilobytes, so do the conversion to sectors properly.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6416d5275d65be25a6cd63583bb2b92e6fba95a5
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:28:33 2008 +1000

    Use O_DIRECT for all IO to devices.
    
    Using buffered IO risks non-atomic updates to parts of the
    device that we don't actually want to write to.  This isn't in
    general safe.
    So switch to O_DIRECT for all that IO and make sure we have
    properly aligned buffers.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=908ef18519f7d5780ebf00b19b913f8282eb4175
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:42 2008 +1000

    Stop all arrays before running each test in regression test driver.
    
    Sometimes I forget to stop arrays at the end of scripts, and
    that shows errors in the next script, which is confusing.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3576e302fe16ee7c5c553385e5b439432e6461e4
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:42 2008 +1000

    ddf: Set container_member from subarray in getinfo_super.
    
    Also go direct from subarray to text_version.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=18a2f463fd26076e943b1a0325c1e036f1038369
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:42 2008 +1000

    Reduce the number of metadata updates done by ddf.
    
    
    1/ track if there are any actual updates pending, and only
       write metadata when we have changed something.
    
    2/ when writing null virtual-configs, write full blocks,
       not just the first 4 bytes.  This will allow O_DIRECT
       writes in a subsequent patch.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=48561b014292e5052da3dc3df629c10d8531d7fd
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:42 2008 +1000

    Improve shutdown for container-based arrays.
    
    1/ close a race where multiple arrays disappear at once
       and monitor isn't woken up to find out that the last one
       has gone.
    2/ "mdadm -Ss" needs to pause briefly for mdmon to exit.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c7c149300b170656485f4ac10ed7cfbd4fd6d0bb
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:42 2008 +1000

    Keep container device open in monitor
    
    ... so that it cannot be stopped while there are active arrays.
    I don't know where that second 'close' came from ....

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=207aac36d50e7d2c48766667bf4bf42c08bc0ec2
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:42 2008 +1000

    Make sure we remove pid file in monitor before manager exits.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a35c070bcd05b308120dce5ada15bfbb2d71790c
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:41 2008 +1000

    Remove some noisy printfs.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=edd8d13c0247b8df5876a94c2d61d74d2cf62c7e
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:40 2008 +1000

    Create arrays via metadata-update
    
    Support creating arrays inside an active ddf container by
    sending a metadata update over a pipe to mdmon.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=bfa44e2e7afb88a9f2d6083f8ff31c2d50cc78dc
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:40 2008 +1000

    Revise message passing code.
    
    
    More here

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4d43913ce07ffbcb1ae8e7bdd06a4bd67cd07791
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:40 2008 +1000

    Remove mgr_pipe for communicating from manage to monitor.
    
    Data is being passed in shared memory, so the pipe is only being
    use as a wakeup.  This can more easily be done with a thread-signal.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2f64e61a507ee4c1a8e2fcdbc2ce0ec89fcb7902
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:40 2008 +1000

    Remove mon_pipe for communicating from monitor to manager
    
    The returned value was never used, and we don't really want
    this return path anyway as writing to a pipe could conceivably
    block, and the monitor must not block.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f94d52f43ea70665f0293de0fe8940d64931e893
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:40 2008 +1000

    Handle device removal from container
    
    This really should be done in mdadm, not mdmon.
    We ensure the device won't be suddenly commited as a hot-spare
    using O_EXCL, then check the 'holders' sysfs directory
    to make sure it is only in use once.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d4da74fc9c5b9f63bb6e4c8e00d1d871ea7174a3
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:39 2008 +1000

    Fix kernel patch

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ec9688ca701adbe8b0dda032d6993c695f24091f
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:39 2008 +1000

    Make super super0.c function static.
    
    So only 'super0' is externally visible.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=78e449282e0c0629089f2bd15e79e0c723a84cb3
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:39 2008 +1000

    Remove the multiple super_switchs for ddf.
    
    It is simpler if there is just one, and the methods
    make decisions as appropriate.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ba7eb04f71b0f5add796bd94319d1a0671b566de
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:39 2008 +1000

    Remove silly convention that major='-1' means 'zero superblock'.
    
    Use 'info pointer is NULL' instead.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d2ca644994d642c31b41242140e1fe819711c8f7
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:39 2008 +1000

    Remove getinfo_super_n and do some other cleaning up.
    
    Getting close to a sensible description of what some of the
    superswitch methods are supposed to do!

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0d481d3723398828c81963dcd58b1bf768e2c0c2
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:39 2008 +1000

    External metadata shouldn't set array.*_version
    
    It doesn't mean anything and is never used.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f7e7067b47d2ca9994f9222dfa5833ac84ce3b22
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:38 2008 +1000

    Add subarray field to supertype.
    
    When loading the metadata for a subarray (super_by_fd), we set
    ->subarray to be the name read from md/metadata_version so that
    getinfo_super can return info about the correct array.
    
    With this we can differentiate between a container and
    an array within the container by looking at ->subarray[0].

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6adfd3affda071d1083497d150a1150ade0e3fdb
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:38 2008 +1000

    Add some comments to explain some of the bits of superswitch.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0063ecba3de1e2048715800dd2b3ff909c1aa6a1
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:38 2008 +1000

    Hide subordinate superswitch structures.
    
    Only one superswitch should be externally visible for each
    general type.  Others which handle different flavours
    (e.g. container/data-array) should be internal only.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b8ac1967953fea50f0ec1e1650a3a9f52e6525d8
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:37 2008 +1000

    Remove 'major' from superswitch.
    
    It isn't generally meaningful.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1522c538b1b8a685d4f0280eefbb2b82b82c1b6a
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:37 2008 +1000

    Use text_version in map_file rather than major.minor.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=59e3626815e78cc0519631e04a276df56e914ef4
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:37 2008 +1000

    Assorted cleanups to DDF

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a0c8a17f66f944151434dff06dd28c83e0893e88
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:36 2008 +1000

    Fix write_init_super usage when hot-adding a spare
    
    Using write_init_super to add a spare to an active array is quite
    different to how it is used when creating an array.
    
    It mostly works, but if we are adding two devices to an array,
    then when we add the second, there are still traces of the first
    which confuse write_init_super.
    
    So get write_init_super to ignore those traces.  Longer term, we
    probably want to do this differently as for DDF, hot-adding to
    an active array will have to be quite different - it will want to
    write to all metadata, possibly via mdmon.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6264b43733127177d3fab4492a2da75938e7e881
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:36 2008 +1000

    Always zero a struct ddf_super on allocation.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ef609477203013666d186cf913e93f4a8843b6db
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:36 2008 +1000

    Always initialise a struct super_type to zero

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=904c1ef77bcb3e3b151f544acf104cd36acdc5f6
Author: Neil Brown <neilb at suse.de>
Date:   Sat Jul 12 20:27:33 2008 +1000

    Fix freeing of updates that have been handled by monitor.
    
    Yes, we do want to free the buf, and the space too if it is still
    there.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d024b0a7eb520d5d7f2238b31c18eabe3775e731
Author: Neil Brown <neilb at suse.de>
Date:   Fri Jul 11 08:50:06 2008 +1000

    Always assume_clean for raid0, linear, multipath, faulty
    
    For arrays that don't have redundancy (raid0, linear etc), the
    clean/dirty distinction doesn't mean anything.  So always
    'assume clean' for these arrays.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=9686a7b5c5de3b710438d90d1198eff13f8c53e0
Merge: b57f7529f8a58811f95a060100111e60a30f529e 4e6e574a3e8eb2351ba1d850369630bf8879dfaf
Author: Neil Brown <neilb at suse.de>
Date:   Fri Jun 20 15:13:27 2008 +1000

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/mdadm into devel-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b57f7529f8a58811f95a060100111e60a30f529e
Merge: 370ac380fda9fb0d813f210ed2b342cfbde07cf0 a862209dc38f716db00365d5b5d3f24d3d0e6626
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 19 16:41:25 2008 +1000

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/mdadm into devel-3.0

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=370ac380fda9fb0d813f210ed2b342cfbde07cf0
Merge: 94f8ae072f885eac63fa45a3f8573a2c17a5bf7b 60b435db5a7b085ad1204168879037bf14ebd6d1
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 19 16:38:37 2008 +1000

    Merge branch 'master' into devel-3.0
    
    Conflicts:
    
    	Makefile

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4e6e574a3e8eb2351ba1d850369630bf8879dfaf
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jun 16 15:50:07 2008 -0700

    mdmon: add debug print statements for profiling mdmon
    
    for development only as console output can block leading to monitor deadlocks
    in low mem situations
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a862209dc38f716db00365d5b5d3f24d3d0e6626
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jun 16 15:36:41 2008 -0700

    imsm: set map state depending on sync state
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5b65005fc8350c0a397bb43205ad2e69d5238d09
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jun 16 15:36:41 2008 -0700

    imsm: reenable mdmon
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=272f648fb00c58989a17651f2eb9c1cf9c807d59
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jun 16 15:36:41 2008 -0700

    imsm: write anchor last
    
    Ensure that newly written anchors reflect a consistent metadata block.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=551c80c1c16545b0daaac74d770e5bedf1ad4f0a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jun 16 15:36:40 2008 -0700

    imsm: implement store_zero_imsm and init_zero_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=4a04ec6ca1a0e013d857ac8993d38752a6223fc2
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jun 16 15:36:40 2008 -0700

    imsm: ->getinfo_super set raid_disk to disk.number
    
    A spare device by definition will have raid_disk set to -1, but when
    assembling the container we want this disk to by included.
    
    Fixes a SIGSEGV when doing:
    mdadm -A /dev/imsm -e imsm /dev/sd[b-e]
    
    ...where /dev/sde is marked as a global spare device
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c2c087e63120bf357f5a2a7a3ce9e24cfbf54194
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Mon Jun 16 15:36:38 2008 -0700

    imsm: add 'Create' support
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8b3532785416ad762979e0658891eb0a0d474099
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jun 13 17:42:09 2008 -0700

    imsm: 'volume' is the proper name for imsm container members
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f4d11639d1217a270f1dd77ed61b8d3c1570c0a4
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jun 13 17:42:09 2008 -0700

    imsm: ->container_dev needs to be set in load_super_imsm_all
    
    It is used later by container_content_imsm to determine set the
    text_version of the member arrays.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=87eb16dfa93433c60753329b994e54a4514c2f89
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jun 13 17:42:09 2008 -0700

    imsm: add 'mpb_size' to --examine output
    
    Break out sector_count() for use elsewhere.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f1665f720035ab37913a68838d3310188f3a4b08
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jun 13 17:27:30 2008 -0700

    sysfs: helper routine to retrieve the scsi id
    
    imsm records this information in its metadata
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=90c8b707149a069a934bd0e2a0824edf1f6dfdf0
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jun 13 17:27:30 2008 -0700

    sysfs: provide a helper function for locating scsi_generic interfaces
    
    imsm records and validates this data in its metadata
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c42ec1ed43a811ad866be58f8f7fa460e22a3109
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jun 13 17:27:30 2008 -0700

    ddf: fix up validate_geometry to ignore other containers
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1ba6bff90226a609700b8e78345a41bbe1997845
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jun 13 17:27:30 2008 -0700

    ddf: fix 'ddf' pointer corruption
    
    hostname[17] = 0 overwrites the last byte of the ddf pointer
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=56aca704a573fad2c60d2fafba110e11670b9dae
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Fri Jun 13 17:27:30 2008 -0700

    ddf: convert size paramter to sectors when calling avail_size_ddf
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=94f8ae072f885eac63fa45a3f8573a2c17a5bf7b
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 12:06:14 2008 +1000

    A kernel patch needed to add a spare to an active external-metadata array

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7e1432fb14bb7d362821b8c62dd282e67c536efe
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:32 2008 +1000

    Add DDF code for activate_spare
    
    Plus various bug fixes etc.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=6c3fb95c44ffc36df4048db86231521146417223
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:29 2008 +1000

    Support adding a spare to a degraded array.
    
    When signalled by the monitor, the manager will find spares and
    add them to the array and initiate a recovery.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=57632f4afb3588465454187ca6ab66ffb200b677
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:28 2008 +1000

    Some fixes to make failures in ddf get handled properly.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=80d26cb2fd18f814e1493aae92357868e044ae8b
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:26 2008 +1000

    Correctly set resync_start when creating an array.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5575e7d962e7c8d00fafa300560af7ae0fe2c4f7
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:25 2008 +1000

    DDF: Update array state and disk state properly when adding to a BVD

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=88c164f42bf9ef656e7e587b1c10ef11056c24a7
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:24 2008 +1000

    super method for updating ddf metadata.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2e735d198233a67f305862f72e3a5d0f0c3c548c
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:23 2008 +1000

    Allow passing metadata update to the monitor.
    
    Code in manager can now just call queue_metadata_update with a
    (freeable) buf holding the update, and it will get passed to the
    monitor and written out.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b22806772072a3c9a3a7fa406fb573294cb4388b
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:22 2008 +1000

    Store and recover spare_assign info in DDF.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8c3b8c2c119563bc7bb8e437396af9eded3d31db
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:20 2008 +1000

    Add mppe and conf_rec_len to struct super_ddf
    
    Rather than having to pull them from inside structures and
    be_to_cpu them all the time.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3cb07116bbbc526715c05a2a8f9d2f5f4011e6f9
Author: Neil Brown <neilb at suse.de>
Date:   Thu Jun 12 10:13:19 2008 +1000

    Don't ignore errors in sysfs_add_disk.
    
    i.e. if the add fails, don't add the device to the internal data
    structures.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=60f18132be82eabf4a44d7014a0f38114da43e53
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:58 2008 +1000

    Fix some stuff.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=cba0191bad1617bdbc43c4a9dc2ad8c0a10f5d02
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:57 2008 +1000

    Parse the 'instance' part of external:/mdXX/INST in metadata handler.
    
    This give more flexability.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=dd15dc4a4d56d0b9ed29b558fb86a8945a18bc5c
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:56 2008 +1000

    Discard st->container_member
    
    'container_member' isn't really a well defined concept.
    Each metadata might enumerate members differently, so just
    let each format /mdX/YYYY as appropriate.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=159c3a1a7785693d21f5226182f9c066882bef66
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:55 2008 +1000

    Remove st->text_version in favour of info->text_version
    
    I want the metadata handler to have more control over the 'version',
    particularly for arrays which are members of containers.
    So discard st->text_version and instead use info->text_version
    which getinfo_super can initialise.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ed9d66aadec7ae41751e3a95352628814b47fbad
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:54 2008 +1000

    Change mark_clean to set_array_state.
    
    DDF needs more fine grained understanding of the array state.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=77402e51054701cd02ff07f8d5d43ef23e640226
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:53 2008 +1000

    Discard get_sync_pos.  We should be using get_resync_start.
    
    "sync_complete" just tracks the current resync/recover/check/whatever pass.
    "resync_start" tracks which parts of the array are known to be in-sync
    (modulo active writes).  So it is what we need to use to update the metadata.
    Also we cannot call it when the array has stopped, as the value is no longer
    available then.  We must call it when the resync completes.
    Possibly also call it preiodically if the array is quiescent.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=75aa18b53cb2df342bc78dd9e44cd0f0c51075f0
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:52 2008 +1000

    Start mdmon during incremental assembly of container

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=25dbe93ab48b6cb45e1fc72b27aaa75d4c1fa48c
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:43 2008 +1000

    allow --incremental to reuse devices that already exist
    
    .. and other fixes.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a931db9ed7c40eca0676794f145e3e5308b0bdd7
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:42 2008 +1000

    auto-start mdmon on --create
    
    FIXME uses sill hardcoded path.
    
    Need --assemble too.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=e0d6609fe6b0fe6a74705d1f1c1cf4a0d3a71db8
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:41 2008 +1000

    Exit when there are no more arrays to manage.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5869a76c90aa0725e665d3c7bd6c7ab021d24fd4
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:40 2008 +1000

    Remove supertype->devfd
    
    It is never used.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=1ed3f38758ff23dabfa3f67e2a02ff98d9d0fea8
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:39 2008 +1000

    Remove stopped arrays.
    
    When an array becomes inactive, clean up and forget it.
    
    This involves signalling the manager.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=7a7cc50430d0d99dfe9b802e9723537360abf9d9
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:38 2008 +1000

    Set status of devices in ddf.
    
    Might work a little bit....

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4e5528c6f7b66f40617dabb232bc6c016bb86204
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:38 2008 +1000

    Implement mark_clean for ddf and remove mark_dirty and mark_sync
    
    mark_dirty is just a special case of mark_clean - with sync_pos == 0.
    mark_sync is not required.  We don't modify the metadata when sync
    finishes.  Only when the array becomes non-writeable at which point we
    use mark_clean to record how far the resync progressed.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d52690acc48b3dcea1785d038fa12fc3de11d0a1
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:37 2008 +1000

    Initialise newly allocated active_array better.
    
    Just set it all to zeros.  ->devs in particular needs to be 0.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5d19760db0541a399e08f2b005d07e607400604d
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:36 2008 +1000

    Discard 'array_list' in mdmon
    
    The container has an ->arrays field that we should be using.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=ea6d09b063211c851441f407c286d179fd3a3baa
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:35 2008 +1000

    'errno' is a positive number, not negative.
    
    I've been living in the kernel too long ;-)

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=355726fa014fb9d656e6af92f0305e55af58de09
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:34 2008 +1000

    Remember to close directories when we are finished with them.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=8c21018330e6adc15f347bd7c9e924866b8ca608
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:33 2008 +1000

    Alway use a unique file name for opendev
    
    Else mdadm and mdmon running in parallel can tread on each other.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2318b9f0dc98b03d3e3374e41b2ca6f85b18f922
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:32 2008 +1000

    Remove 'fd' arg from sysfs_add_disk
    
    It it never used, and removing means there are several 'open's that can
    go.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=30e1b9a585ea667a3d79edd4e4ca2bf5692c2ab9
Author: Neil Brown <neilb at suse.de>
Date:   Tue May 27 09:18:31 2008 +1000

    Remove stray semicolon
    
    Causes compile error with gcc-2.95

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a2349791da2f2cd33ac84ce2b6d70914a1eed729
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:57 2008 +1000

    Fix some initialisations...

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=4fa5aef9667535147d3069360a1f1b543fe2b1ea
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:56 2008 +1000

    close some memory leaks
    
    From: Dan Williams <dan.j.williams 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=3e70c845e25295d80680d884d5671107bf8bded3
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:54 2008 +1000

    add infrastructure to receive higher order commands, like remove_device
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    Each md_message encapsulates a single command.  A command includes an 'action'
    member which describes what if any data comes after the action.  Communication
    with the monitor involves updating the active_cmd pointer and then writing to
    mgr_pipe.  Pass/fail status is returned via mon_pipe.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b109d92863bfa319d140b305132ca41bfb8d1194
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:52 2008 +1000

    start fleshing out socket code, ping monitor to see if it is alive
    
    From: Dan Williams <dan.j.williams 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=0af73f61a25904edc7da24e2da9786b48bb8bec6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:51 2008 +1000

    when failures happen they should be propagated to all member arrays
    
    From: Dan Williams <dan.j.williams 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=8d45d1969bc299040201df82c51f7fbbc985c401
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:49 2008 +1000

    handle disk failures
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    Added curr_state as a parameter to set_disk.  Handlers look at this to
    record components failures, and set global 'degraded' or 'failed'
    status.
    
    When reading the state as faulty:
    1/ mark the disk failed in the metadata
    
    2/ write '-blocked' to the rdev state to allow the kernel's failure
       mechanism to advance
    
    3/ the kernel will take away the drive's role in remove_and_add_spares()
    
    4/ once the disk no longer has a role writing 'remove' to the rdev state
       will get the disk out of array.
    
    There is a window after writing '-blocked' where the kernel will return
    -EBUSY to remove requests.  We rely on the fact that the disk will
    continue to show faulty so we lazily wait until the kernel is ready to
    remove the disk.  If the manager thread needs to get the disk out of the
    way it can ping the monitor and wait, just like the replace_array()
    case.
    
    [buglet fix: swap the parameters of attr_match in read_dev_state]
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c2a1e7dad7a2ca88bd6667f8ad0853a62fe8f874
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:47 2008 +1000

    imsm: update metadata for dirty -> clean or resync -> idle events
    
    From: Dan Williams <dan.j.williams 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=3dbccbcf5ff32f604edbdfb1a790e19a28cee02a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:46 2008 +1000

    keep member disk fd(s) for updates
    
    From: Dan Williams <dan.j.williams 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=2a0bb19e0089aef4fcc65513c40a54cb00e53a7b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:44 2008 +1000

    Flag arrays for deletion after they have been stopped.
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    If they are later reassembled they will be replaced and deallocated
    via replace_array.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=fd7cde1bf0221049b6359a96ab4c43578897d0ab
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:42 2008 +1000

    handle resync completion
    
    From: Dan Williams <dan.j.williams 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=845dea950c319ce33c8535cc14a1fddef1c51752
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:41 2008 +1000

    Add mdmon functions to super-intel.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=c052ba301b417d4fc8493d95a4a87f0472cc0483
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:39 2008 +1000

    start resync when transitioning from initial readonly state
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    mdadm handles setting resync_start, monitor uses this value to determine
    whether to set the 'active' or 'readauto' state.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=549e9569c6006433512801ae76b34abc0d3e1ac0
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:37 2008 +1000

    Merge mdmon

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=f7dd881f909a7bc552a6de3c1fc4920bb0bfdff2
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:35 2008 +1000

    handle Manage_subdevs() for 'external' arrays
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    1/ Block attempts to add/remove devices from container members
    2/ Forward add/remove requests to containers
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=0fd5c350e55590d2adbbb6ca16ec86391abda14b
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:33 2008 +1000

    set resync_start in Incremental_container
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    Metadata handlers set mdinfo.resync_start depending on the state of the
    array.  By default mdadm assumes the array is dirty and needs a full
    resync.
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=3cfe6247400e92f85282da89dfea7f1d3ba88634
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:32 2008 +1000

    imsm: create support
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    This should probably be made into a generic 'external' capability rather
    than hardcoding 'ddf' and '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=4f5bc4542c273852a5988c59f6fb76ef2bc32cb9
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:27 2008 +1000

    imsm: assemble raid devices
    
    From: Dan Williams <dan.j.williams 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=5f2aace8eba3b4d9c82ed520d0fdf0f5d2b990e6
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:25 2008 +1000

    Set 'metadata_version' for container_member in Incremental_container
    
    From: Dan Williams <dan.j.williams 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=f352c5452740659f651ff52c657ca95f01bce30a
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:24 2008 +1000

    imsm: assemble container support
    
    From: Dan Williams <dan.j.williams 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=cdddbdbca06edfec630f593e97b7195fcbcb69ed
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:22 2008 +1000

    imsm: initial Intel(R) Matrix Storage Manager support
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    The following now work:
    --examine
    --examine --brief
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2f6079dc96180335fdb56d0b89e462e903abbb50
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:21 2008 +1000

    Create a container member
    
    From: Neil Brown <neilb at suse.de>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=598f0d58ac3544e25f90f2d34337e15764f4d877
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:19 2008 +1000

    Can now mostly assemble DDF arrays

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a19c88b83db3cc25affb75fe2d5531c964379d96
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:18 2008 +1000

    Start on --assemble support for DDF

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=2503d23b5a113adee89b2631770a8dbfd9ca1351
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:17 2008 +1000

    More ddf stuff

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=5f8097beb973842287e5ac6e2d2644accb04cf25
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:15 2008 +1000

    more ddf stuff
    Create a BVD in a DDF
    
    Do not actually assemble it yet...

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=a322f70c41a1c381e19b1913b8ad2a8b77078800
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu May 15 16:48:14 2008 +1000

    Initial DDF support code.
    
    Create a ddf array by naming the device /dev/ddf* or
    specifying metadata 'ddf'.
    
    If ddf is specified with no level, assume a container (indeed,
    anything else would be wrong).
    
    **Need to use text_Version to set external metadata...
    
    More ddf support
    
    Load a ddf container.  Now
       --examine /dev/ddf
    works.
    super-ddf: fix compile warning
    
    From: Dan Williams <dan.j.williams at intel.com>
    
    super-ddf.c:723: format %lu expects type long unsigned int, but argument 3 has type unsigned int
    
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=d03373f1deea242eaacfab6b2b0c4afc6d7702d2
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:13 2008 +1000

    Some support for external metadata.
    
    Allow specifying metadata type when creating arrays etc.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=111d01fcc76d2e7d0b05f78fae67e89cdf6856ad
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:12 2008 +1000

    Change write_init_super to be called only once.
    
    The current model for creating arrays involves writing
    a superblock to each device in the array.
    With containers (as with DDF), that model doesn't work.
    Every device in the container may need to be updated
    for an array made from just some the devices in a container.
    
    So instead of calling write_init_super for each device,
    we call it once for the array and have it iterate over
    all the devices in the array.
    
    To help with this, ->add_to_super now passes in an 'fd' and name for
    the device.  These get saved for use by write_init_super.  So
    add_to_super takes ownership of the fd, and write_init_super will
    close it.
    This information is stored in the new 'info' field of supertype.
    
    As part of this, write_init_super now removes any old traces of raid
    metadata rather than doing this in common code.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=11fcec12ef68fa3b915e26676c47ee0f97d62256
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:10 2008 +1000

    Add crc32 files.
    
    For ddf.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=974e620d661404989c77e860a8fb0a6a154d9d63
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:09 2008 +1000

    Add cpu_to_be convertions functions.
    
    DDF will uses these.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=b6e63da496546aa7106495ccc61a85a9107f4610
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:48:08 2008 +1000

    Reduce openning of dev in create.
    
    Now that validate_geometry opens and checks the device,
    we don't need to do it as much in top level Create.
    We only need it to check for old array or filesystem info.
    So only open the device at that place.

URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=17f25ca6fb71221f4fa7891c0037f88d26dbc67c
Author: Neil Brown <neilb at suse.de>
Date:   Thu May 15 16:47:41 2008 +1000

    Add 'container' level and ->validate_geometry method.
    
    These will be used for ddf.




More information about the pkg-mdadm-commits mailing list