浏览代码

md-cluster: update document for raid10

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Guoqing Jiang 8 年之前
父节点
当前提交
f0e230ad87
共有 3 个文件被更改,包括 6 次插入4 次删除
  1. 2 1
      Documentation/md/md-cluster.txt
  2. 3 2
      drivers/md/Kconfig
  3. 1 1
      drivers/md/md-cluster.c

+ 2 - 1
Documentation/md/md-cluster.txt

@@ -1,4 +1,5 @@
-The cluster MD is a shared-device RAID for a cluster.
+The cluster MD is a shared-device RAID for a cluster, it supports
+two levels: raid1 and raid10 (limited support).
 
 
 
 
 1. On-disk format
 1. On-disk format

+ 3 - 2
drivers/md/Kconfig

@@ -178,7 +178,7 @@ config MD_FAULTY
 
 
 
 
 config MD_CLUSTER
 config MD_CLUSTER
-	tristate "Cluster Support for MD (EXPERIMENTAL)"
+	tristate "Cluster Support for MD"
 	depends on BLK_DEV_MD
 	depends on BLK_DEV_MD
 	depends on DLM
 	depends on DLM
 	default n
 	default n
@@ -188,7 +188,8 @@ config MD_CLUSTER
 	nodes in the cluster can access the MD devices simultaneously.
 	nodes in the cluster can access the MD devices simultaneously.
 
 
 	This brings the redundancy (and uptime) of RAID levels across the
 	This brings the redundancy (and uptime) of RAID levels across the
-	nodes of the cluster.
+	nodes of the cluster. Currently, it can work with raid1 and raid10
+	(limited support).
 
 
 	If unsure, say N.
 	If unsure, say N.
 
 

+ 1 - 1
drivers/md/md-cluster.c

@@ -1478,7 +1478,7 @@ static struct md_cluster_operations cluster_ops = {
 
 
 static int __init cluster_init(void)
 static int __init cluster_init(void)
 {
 {
-	pr_warn("md-cluster: EXPERIMENTAL. Use with caution\n");
+	pr_warn("md-cluster: support raid1 and raid10 (limited support)\n");
 	pr_info("Registering Cluster MD functions\n");
 	pr_info("Registering Cluster MD functions\n");
 	register_md_cluster_operations(&cluster_ops, THIS_MODULE);
 	register_md_cluster_operations(&cluster_ops, THIS_MODULE);
 	return 0;
 	return 0;