Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 080506ad authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Linus Torvalds
Browse files

block: change config option name for cmdline partition parsing



Recently commit bab55417 ("block: support embedded device command
line partition") introduced CONFIG_CMDLINE_PARSER.  However, that name
is too generic and sounds like it enables/disables generic kernel boot
arg processing, when it really is block specific.

Before this option becomes a part of a full/final release, add the BLK_
prefix to it so that it is clear in absence of any other context that it
is block specific.

In addition, fix up the following less critical items:
 - help text was not really at all helpful.
 - index file for Documentation was not updated
 - add the new arg to Documentation/kernel-parameters.txt
 - clarify wording in source comments

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Cai Zhiyong <caizhiyong@huawei.com>
Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent eadb41ae
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@ capability.txt
	- Generic Block Device Capability (/sys/block/<device>/capability)
cfq-iosched.txt
	- CFQ IO scheduler tunables
cmdline-partition.txt
	- how to specify block device partitions on kernel command line
data-integrity.txt
	- Block data integrity
deadline-iosched.txt
+4 −4
Original line number Diff line number Diff line
Embedded device command line partition
Embedded device command line partition parsing
=====================================================================

Read block device partition table from command line.
The partition used for fixed block device (eMMC) embedded device.
It is no MBR, save storage space. Bootloader can be easily accessed
Support for reading the block device partition table from the command line.
It is typically used for fixed block (eMMC) embedded devices.
It has no MBR, so saves storage space. Bootloader can be easily accessed
by absolute address of data on the block device.
Users can easily change the partition.

+4 −0
Original line number Diff line number Diff line
@@ -480,6 +480,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
			Format: <io>,<irq>,<mode>
			See header of drivers/net/hamradio/baycom_ser_hdx.c.

	blkdevparts=	Manual partition parsing of block device(s) for
			embedded devices based on command line input.
			See Documentation/block/cmdline-partition.txt

	boot_delay=	Milliseconds to delay each printk during boot.
			Values larger than 10 seconds (10000) are changed to
			no delay (0).
+7 −2
Original line number Diff line number Diff line
@@ -99,11 +99,16 @@ config BLK_DEV_THROTTLING

	See Documentation/cgroups/blkio-controller.txt for more information.

config CMDLINE_PARSER
config BLK_CMDLINE_PARSER
	bool "Block device command line partition parser"
	default n
	---help---
	Parsing command line, get the partitions information.
	Enabling this option allows you to specify the partition layout from
	the kernel boot args.  This is typically of use for embedded devices
	which don't otherwise have any standardized method for listing the
	partitions on a block device.

	See Documentation/block/cmdline-partition.txt for more information.

menu "Partition Types"

+1 −1
Original line number Diff line number Diff line
@@ -18,4 +18,4 @@ obj-$(CONFIG_IOSCHED_CFQ) += cfq-iosched.o

obj-$(CONFIG_BLOCK_COMPAT)	+= compat_ioctl.o
obj-$(CONFIG_BLK_DEV_INTEGRITY)	+= blk-integrity.o
obj-$(CONFIG_CMDLINE_PARSER)	+= cmdline-parser.o
obj-$(CONFIG_BLK_CMDLINE_PARSER)	+= cmdline-parser.o
Loading