xref: /openbmc/linux/block/Kconfig (revision 9361401e)
13a65dfe8SJens Axboe#
23a65dfe8SJens Axboe# Block layer core configuration
33a65dfe8SJens Axboe#
49361401eSDavid Howellsconfig BLOCK
59361401eSDavid Howells       bool "Enable the block layer"
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 Axboe#XXX - it makes sense to enable this only for 32-bit subarch's, not for x86_64
233a65dfe8SJens Axboe#for instance.
243a65dfe8SJens Axboeconfig LBD
253a65dfe8SJens Axboe	bool "Support for Large Block Devices"
26347a8dc3SMartin Schwidefsky	depends on X86 || (MIPS && 32BIT) || PPC32 || (S390 && !64BIT) || SUPERH || UML
273a65dfe8SJens Axboe	help
283a65dfe8SJens Axboe	  Say Y here if you want to attach large (bigger than 2TB) discs to
293a65dfe8SJens Axboe	  your machine, or if you want to have a raid or loopback device
303a65dfe8SJens Axboe	  bigger than 2TB.  Otherwise say N.
313a65dfe8SJens Axboe
322056a782SJens Axboeconfig BLK_DEV_IO_TRACE
332056a782SJens Axboe	bool "Support for tracing block io actions"
3409540e69SJens Axboe	depends on SYSFS
352056a782SJens Axboe	select RELAY
362056a782SJens Axboe	select DEBUG_FS
372056a782SJens Axboe	help
382056a782SJens Axboe	  Say Y here, if you want to be able to trace the block layer actions
392056a782SJens Axboe	  on a given queue. Tracing allows you to see any traffic happening
402056a782SJens Axboe	  on a block device queue. For more information (and the user space
412056a782SJens Axboe	  support tools needed), fetch the blktrace app from:
422056a782SJens Axboe
432056a782SJens Axboe	  git://brick.kernel.dk/data/git/blktrace.git
442056a782SJens Axboe
45a0f62ac6STakashi Satoconfig LSF
46a0f62ac6STakashi Sato	bool "Support for Large Single Files"
47a0f62ac6STakashi Sato	depends on X86 || (MIPS && 32BIT) || PPC32 || ARCH_S390_31 || SUPERH || UML
48a0f62ac6STakashi Sato	help
4988b9adb0STrond Myklebust	  Say Y here if you want to be able to handle very large files (bigger
5088b9adb0STrond Myklebust	  than 2TB), otherwise say N.
5188b9adb0STrond Myklebust
5288b9adb0STrond Myklebust	  If unsure, say Y.
53a0f62ac6STakashi Sato
549361401eSDavid Howellsendif
559361401eSDavid Howells
563a65dfe8SJens Axboesource block/Kconfig.iosched
57