Commit 608f52e3 authored by Guoqing Jiang's avatar Guoqing Jiang Committed by Song Liu

md: mark some personalities as deprecated

Mark the three personalities (linear, fault and multipath) as deprecated
because:

1. people can use dm multipath or nvme multipath.
2. linear is already deprecated in MODULE_ALIAS.
3. no one actively using fault.
Signed-off-by: default avatarGuoqing Jiang <jiangguoqing@kylinos.cn>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent 528bc2cf
...@@ -47,7 +47,7 @@ config MD_AUTODETECT ...@@ -47,7 +47,7 @@ config MD_AUTODETECT
If unsure, say Y. If unsure, say Y.
config MD_LINEAR config MD_LINEAR
tristate "Linear (append) mode" tristate "Linear (append) mode (deprecated)"
depends on BLK_DEV_MD depends on BLK_DEV_MD
help help
If you say Y here, then your multiple devices driver will be able to If you say Y here, then your multiple devices driver will be able to
...@@ -158,7 +158,7 @@ config MD_RAID456 ...@@ -158,7 +158,7 @@ config MD_RAID456
If unsure, say Y. If unsure, say Y.
config MD_MULTIPATH config MD_MULTIPATH
tristate "Multipath I/O support" tristate "Multipath I/O support (deprecated)"
depends on BLK_DEV_MD depends on BLK_DEV_MD
help help
MD_MULTIPATH provides a simple multi-path personality for use MD_MULTIPATH provides a simple multi-path personality for use
...@@ -169,7 +169,7 @@ config MD_MULTIPATH ...@@ -169,7 +169,7 @@ config MD_MULTIPATH
If unsure, say N. If unsure, say N.
config MD_FAULTY config MD_FAULTY
tristate "Faulty test module for MD" tristate "Faulty test module for MD (deprecated)"
depends on BLK_DEV_MD depends on BLK_DEV_MD
help help
The "faulty" module allows for a block device that occasionally returns The "faulty" module allows for a block device that occasionally returns
......
...@@ -357,7 +357,7 @@ static void raid_exit(void) ...@@ -357,7 +357,7 @@ static void raid_exit(void)
module_init(raid_init); module_init(raid_init);
module_exit(raid_exit); module_exit(raid_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Fault injection personality for MD"); MODULE_DESCRIPTION("Fault injection personality for MD (deprecated)");
MODULE_ALIAS("md-personality-10"); /* faulty */ MODULE_ALIAS("md-personality-10"); /* faulty */
MODULE_ALIAS("md-faulty"); MODULE_ALIAS("md-faulty");
MODULE_ALIAS("md-level--5"); MODULE_ALIAS("md-level--5");
...@@ -312,7 +312,7 @@ static void linear_exit (void) ...@@ -312,7 +312,7 @@ static void linear_exit (void)
module_init(linear_init); module_init(linear_init);
module_exit(linear_exit); module_exit(linear_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Linear device concatenation personality for MD"); MODULE_DESCRIPTION("Linear device concatenation personality for MD (deprecated)");
MODULE_ALIAS("md-personality-1"); /* LINEAR - deprecated*/ MODULE_ALIAS("md-personality-1"); /* LINEAR - deprecated*/
MODULE_ALIAS("md-linear"); MODULE_ALIAS("md-linear");
MODULE_ALIAS("md-level--1"); MODULE_ALIAS("md-level--1");
...@@ -471,7 +471,7 @@ static void __exit multipath_exit (void) ...@@ -471,7 +471,7 @@ static void __exit multipath_exit (void)
module_init(multipath_init); module_init(multipath_init);
module_exit(multipath_exit); module_exit(multipath_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("simple multi-path personality for MD"); MODULE_DESCRIPTION("simple multi-path personality for MD (deprecated)");
MODULE_ALIAS("md-personality-7"); /* MULTIPATH */ MODULE_ALIAS("md-personality-7"); /* MULTIPATH */
MODULE_ALIAS("md-multipath"); MODULE_ALIAS("md-multipath");
MODULE_ALIAS("md-level--4"); MODULE_ALIAS("md-level--4");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment