OSDN Git Service

md-cluster: update document for raid10
authorGuoqing Jiang <gqjiang@suse.com>
Tue, 24 Oct 2017 07:11:53 +0000 (15:11 +0800)
committerShaohua Li <shli@fb.com>
Thu, 2 Nov 2017 04:32:25 +0000 (21:32 -0700)
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Documentation/md/md-cluster.txt
drivers/md/Kconfig
drivers/md/md-cluster.c

index 82ee516..e1055f1 100644 (file)
@@ -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
index 4a249ee..83b9362 100644 (file)
@@ -178,7 +178,7 @@ config MD_FAULTY
 
 
 config MD_CLUSTER
-       tristate "Cluster Support for MD (EXPERIMENTAL)"
+       tristate "Cluster Support for MD"
        depends on BLK_DEV_MD
        depends on DLM
        default n
@@ -188,7 +188,8 @@ config MD_CLUSTER
        nodes in the cluster can access the MD devices simultaneously.
 
        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.
 
index d0fd1bd..79bfbc8 100644 (file)
@@ -1478,7 +1478,7 @@ static struct md_cluster_operations cluster_ops = {
 
 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");
        register_md_cluster_operations(&cluster_ops, THIS_MODULE);
        return 0;