xref: /openbmc/linux/block/Kconfig (revision 2b9e0aae)
13a65dfe8SJens Axboe#
23a65dfe8SJens Axboe# Block layer core configuration
33a65dfe8SJens Axboe#
416ed002fSJan Engelhardtmenuconfig BLOCK
551d7513aSJens Axboe       bool "Enable the block layer" if EMBEDDED
69361401eSDavid Howells       default y
79361401eSDavid Howells       help
89361401eSDavid Howells	 This permits the block layer to be removed from the kernel if it's not
99361401eSDavid Howells	 needed (on some embedded devices for example).  If this option is
109361401eSDavid Howells	 disabled, then blockdev files will become unusable and some
119361401eSDavid Howells	 filesystems (such as ext3) will become unavailable.
129361401eSDavid Howells
139361401eSDavid Howells	 This option will also disable SCSI character devices and USB storage
149361401eSDavid Howells	 since they make use of various block layer definitions and
159361401eSDavid Howells	 facilities.
169361401eSDavid Howells
179361401eSDavid Howells	 Say Y here unless you know you really don't want to mount disks and
189361401eSDavid Howells	 suchlike.
199361401eSDavid Howells
209361401eSDavid Howellsif BLOCK
219361401eSDavid Howells
223a65dfe8SJens Axboeconfig LBD
233a65dfe8SJens Axboe	bool "Support for Large Block Devices"
24e6243863SMatthew Wilcox	depends on !64BIT
253a65dfe8SJens Axboe	help
263a65dfe8SJens Axboe	  Say Y here if you want to attach large (bigger than 2TB) discs to
273a65dfe8SJens Axboe	  your machine, or if you want to have a raid or loopback device
283a65dfe8SJens Axboe	  bigger than 2TB.  Otherwise say N.
293a65dfe8SJens Axboe
302056a782SJens Axboeconfig BLK_DEV_IO_TRACE
312056a782SJens Axboe	bool "Support for tracing block io actions"
3209540e69SJens Axboe	depends on SYSFS
332056a782SJens Axboe	select RELAY
342056a782SJens Axboe	select DEBUG_FS
352056a782SJens Axboe	help
362056a782SJens Axboe	  Say Y here, if you want to be able to trace the block layer actions
372056a782SJens Axboe	  on a given queue. Tracing allows you to see any traffic happening
382056a782SJens Axboe	  on a block device queue. For more information (and the user space
392056a782SJens Axboe	  support tools needed), fetch the blktrace app from:
402056a782SJens Axboe
412056a782SJens Axboe	  git://brick.kernel.dk/data/git/blktrace.git
422056a782SJens Axboe
43a0f62ac6STakashi Satoconfig LSF
44a0f62ac6STakashi Sato	bool "Support for Large Single Files"
45e6243863SMatthew Wilcox	depends on !64BIT
46a0f62ac6STakashi Sato	help
4788b9adb0STrond Myklebust	  Say Y here if you want to be able to handle very large files (bigger
4888b9adb0STrond Myklebust	  than 2TB), otherwise say N.
4988b9adb0STrond Myklebust
5088b9adb0STrond Myklebust	  If unsure, say Y.
51a0f62ac6STakashi Sato
523d6392cfSJens Axboeconfig BLK_DEV_BSG
53319a7b7fSFUJITA Tomonori	bool "Block layer SG support v4 (EXPERIMENTAL)"
5480ed71ceSJames Bottomley	depends on EXPERIMENTAL
553d6392cfSJens Axboe	---help---
56319a7b7fSFUJITA Tomonori	Saying Y here will enable generic SG (SCSI generic) v4 support
57319a7b7fSFUJITA Tomonori	for any block device.
58319a7b7fSFUJITA Tomonori
59319a7b7fSFUJITA Tomonori	Unlike SG v3 (aka block/scsi_ioctl.c drivers/scsi/sg.c), SG v4
60319a7b7fSFUJITA Tomonori	can handle complicated SCSI commands: tagged variable length cdbs
61319a7b7fSFUJITA Tomonori	with bidirectional data transfers and generic request/response
62319a7b7fSFUJITA Tomonori	protocols (e.g. Task Management Functions and SMP in Serial
63319a7b7fSFUJITA Tomonori	Attached SCSI).
643d6392cfSJens Axboe
652b9e0aaeSLinus Torvaldsendif # BLOCK
662b9e0aaeSLinus Torvalds
6799874d50SJens Axboeconfig BLOCK_COMPAT
6899874d50SJens Axboe	bool
692b9e0aaeSLinus Torvalds	depends on BLOCK && COMPAT
7099874d50SJens Axboe	default y
7199874d50SJens Axboe
723a65dfe8SJens Axboesource block/Kconfig.iosched
73