summaryrefslogtreecommitdiff
path: root/ReadMe.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2010-11-23 15:00:54 +1100
committerNeilBrown <neilb@suse.de>2010-11-23 15:00:54 +1100
commitbc77ed535db05fc4b5b46f20dc4c27893f01610d (patch)
tree92a86d4a598897adc3815935120a39ab1d26bc1b /ReadMe.c
parente5408a3202c09267f780d53334c369793534a7e8 (diff)
block monitor: freeze spare assignment for external arrays
In order to support reshape and atomic removal of spares from containers we need to prevent mdmon from activating spares. In the reshape case we additionally need to freeze sync_action while the reshape transaction is initiated with the kernel and recorded in the metadata. When reshaping a raid0 array we need to freeze the array *before* it is transitioned to a redundant raid level. Since sync_action does not exist at this point we extend the '-' prefix of a subarray string to flag mdmon not to activate spares. Mdadm needs to be reasonably certain that the version of mdmon in the system honors this 'freeze' indication. If mdmon is not already active then we assume the version that gets started is the same as the mdadm version. Otherwise, we check the version of mdmon as returned by the extended ping_monitor() operation. This is to catch cases where mdadm is upgraded in the filesystem, but mdmon started in the initramfs is from a previous release. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'ReadMe.c')
-rw-r--r--ReadMe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ReadMe.c b/ReadMe.c
index 54a19986..16375c71 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -24,7 +24,7 @@
#include "mdadm.h"
-char Version[] = Name " - v3.1.4 - 31st August 2010\n";
+char Version[] = Name " - v3.2-devel - 23rd November 2010\n";
/*
* File: ReadMe.c