summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-03-24 12:00:55 +1100
committerNeilBrown <neilb@suse.de>2011-03-24 12:00:55 +1100
commit51d9a2ce33a6a60a75751a46bb93bf052a2dfc7a (patch)
tree6f6afb83f9466acdab298de5ea276ac6475ef543
parentb4add146a02286102916a815f2ed0ba3f76cfd7b (diff)
parent945f0fcd0179210ae5b72006c3621a73cc6e9205 (diff)
downloadmdadm-51d9a2ce33a6a60a75751a46bb93bf052a2dfc7a.tar.gz
Merge branch 'master' into devel-3.2
Conflicts: Incremental.c Manage.c ReadMe.c inventory mdadm.8.in mdadm.spec mdassemble.8 mdmon.8
-rw-r--r--ANNOUNCE-3.1.542
-rw-r--r--Manage.c2
-rwxr-xr-xinventory1
3 files changed, 44 insertions, 1 deletions
diff --git a/ANNOUNCE-3.1.5 b/ANNOUNCE-3.1.5
new file mode 100644
index 0000000..baa1f92
--- /dev/null
+++ b/ANNOUNCE-3.1.5
@@ -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
+
diff --git a/Manage.c b/Manage.c
index 0a966a8..b7aceaa 100644
--- 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) {
diff --git a/inventory b/inventory
index d960099..d630f7a 100755
--- 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