]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Merge branch 'master' into devel-3.2
authorNeilBrown <neilb@suse.de>
Thu, 24 Mar 2011 01:00:55 +0000 (12:00 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 24 Mar 2011 01:00:55 +0000 (12:00 +1100)
Conflicts:
Incremental.c
Manage.c
ReadMe.c
inventory
mdadm.8.in
mdadm.spec
mdassemble.8
mdmon.8

ANNOUNCE-3.1.5 [new file with mode: 0644]
Manage.c
inventory

diff --git a/ANNOUNCE-3.1.5 b/ANNOUNCE-3.1.5
new file mode 100644 (file)
index 0000000..baa1f92
--- /dev/null
@@ -0,0 +1,42 @@
+Subject:  ANNOUNCE: mdadm 3.1.5 - A tool for managing Soft RAID under Linux
+
+I am pleased to announce the availability of
+   mdadm version 3.1.5
+
+It is available at the usual places:
+   countrycode=xx.
+   http://www.${countrycode}kernel.org/pub/linux/utils/raid/mdadm/
+and via git at
+   git://neil.brown.name/mdadm
+   http://neil.brown.name/git?p=mdadm
+
+This is a bugfix/stability release over 3.1.4.  It contains all the
+important bugfixes found while working on 3.2 and 3.2.1.  It will be
+the last 3.1.x release - 3.2.1 is expected to be released in a few days.
+
+Changes include:
+  - Fixes for v1.x metadata on big-endian machines.
+  - man page improvements
+  - Improve '--detail --export' when run on partitions of an md array.
+  - Fix regression with removing 'failed' or 'detached' devices.
+  - Fixes for "--assemble --force" in various unusual cases.
+  - Allow '-Y' to mean --export.  This was documented but not implemented.
+  - Various fixed for handling 'ddf' metadata.  This is now more reliable
+    but could benefit from more interoperability testing.
+  - Correctly list subarrays of a container in "--detail" output.
+  - Improve checks on whether the requested number of devices is supported
+    by the metadata - both for --create and --grow.
+  - Don't remove partitions from a device that is being included in an
+    array until we are fully committed to including it.
+  - Allow "--assemble --update=no-bitmap" so an array with a corrupt
+    bitmap can still be assembled.
+  - Don't allow --add to succeed if it looks like a "--re-add" is probably
+    wanted, but cannot succeed.  This avoids inadvertently turning
+    devices into spares when an array is failed.
+
+This release is believed to be stable and you should feel free to
+upgrade to 3.1.5
+
+
+NeilBrown 23rd March 2011
+
index 0a966a861ccb5f323e1d2d10eefdee593f890984..b7aceaa52be187179ec7cff4ba0d7d9b78482e94 100644 (file)
--- a/Manage.c
+++ b/Manage.c
@@ -301,7 +301,7 @@ int Manage_runstop(char *devname, int fd, int runstop, int quiet)
                 * which blocks STOP_ARRAY is probably a transient use,
                 * so it is reasonable to retry for a while - 5 seconds.
                 */
-               count = 25;
+               count = 25; err = 0;
                while (count && fd >= 0
                       && (err = ioctl(fd, STOP_ARRAY, NULL)) < 0
                       && errno == EBUSY) {
index d960099840ab91f71cf573f7a5d9af0c49870b13..d630f7a4284beb2168f89bf5d5faae4c82814cba 100755 (executable)
--- a/inventory
+++ b/inventory
@@ -8,6 +8,7 @@ ANNOUNCE-3.1.1
 ANNOUNCE-3.1.2
 ANNOUNCE-3.1.3
 ANNOUNCE-3.1.4
+ANNOUNCE-3.1.5
 ANNOUNCE-3.2
 Assemble.c
 bitmap.c