Skip to content

Commit

Permalink
md: mark some personalities as deprecated
Browse files Browse the repository at this point in the history
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: Guoqing Jiang <jiangguoqing@kylinos.cn>
Signed-off-by: Song Liu <song@kernel.org>
  • Loading branch information
Guoqing Jiang authored and Song Liu committed Jun 15, 2021
1 parent 528bc2c commit 608f52e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions drivers/md/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ config MD_AUTODETECT
If unsure, say Y.

config MD_LINEAR
tristate "Linear (append) mode"
tristate "Linear (append) mode (deprecated)"
depends on BLK_DEV_MD
help
If you say Y here, then your multiple devices driver will be able to
Expand Down Expand Up @@ -158,7 +158,7 @@ config MD_RAID456
If unsure, say Y.

config MD_MULTIPATH
tristate "Multipath I/O support"
tristate "Multipath I/O support (deprecated)"
depends on BLK_DEV_MD
help
MD_MULTIPATH provides a simple multi-path personality for use
Expand All @@ -169,7 +169,7 @@ config MD_MULTIPATH
If unsure, say N.

config MD_FAULTY
tristate "Faulty test module for MD"
tristate "Faulty test module for MD (deprecated)"
depends on BLK_DEV_MD
help
The "faulty" module allows for a block device that occasionally returns
Expand Down
2 changes: 1 addition & 1 deletion drivers/md/md-faulty.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ static void raid_exit(void)
module_init(raid_init);
module_exit(raid_exit);
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-faulty");
MODULE_ALIAS("md-level--5");
2 changes: 1 addition & 1 deletion drivers/md/md-linear.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ static void linear_exit (void)
module_init(linear_init);
module_exit(linear_exit);
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-linear");
MODULE_ALIAS("md-level--1");
2 changes: 1 addition & 1 deletion drivers/md/md-multipath.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ static void __exit multipath_exit (void)
module_init(multipath_init);
module_exit(multipath_exit);
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-multipath");
MODULE_ALIAS("md-level--4");

0 comments on commit 608f52e

Please sign in to comment.