summaryrefslogtreecommitdiffstats
path: root/md_u.h
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2015-06-10 07:42:08 +0200
committerNeilBrown <neilb@suse.de>2015-06-17 01:21:29 +0200
commit4de90913020923b69515630b8f19094d2e0d1d5a (patch)
treec5aed27747bb1624162deb6d87c5e3418afc5a3a /md_u.h
parentShow all bitmaps while examining bitmap (diff)
downloadmdadm-4de90913020923b69515630b8f19094d2e0d1d5a.tar.xz
mdadm-4de90913020923b69515630b8f19094d2e0d1d5a.zip
Add a new clustered disk
A clustered disk is added by the traditional --add sequence. However, other nodes need to acknowledge that they can "see" the device. This is done by --cluster-confirm: --cluster-confirm SLOTNUM:/dev/whatever (if disk is found) or --cluster-confirm SLOTNUM:missing (if disk is not found) The node initiating the --add, has the disk state tagged with MD_DISK_CLUSTER_ADD and the one confirming tag the disk with MD_DISK_CANDIDATE. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'md_u.h')
-rw-r--r--md_u.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/md_u.h b/md_u.h
index be9868a7..76068d64 100644
--- a/md_u.h
+++ b/md_u.h
@@ -44,6 +44,7 @@
#define STOP_ARRAY _IO (MD_MAJOR, 0x32)
#define STOP_ARRAY_RO _IO (MD_MAJOR, 0x33)
#define RESTART_ARRAY_RW _IO (MD_MAJOR, 0x34)
+#define CLUSTERED_DISK_NACK _IO (MD_MAJOR, 0x35)
typedef struct mdu_version_s {
int major;