blob: da12f2649cced4266daaf85ca2ba42a95707013e [file] [log] [blame]
Jens Axboe3a65dfe2005-11-04 08:43:35 +01001#
2# Block layer core configuration
3#
Jan Engelhardt16ed0022007-07-10 12:24:11 +02004menuconfig BLOCK
Jens Axboe51d75132006-09-30 21:14:05 +02005 bool "Enable the block layer" if EMBEDDED
David Howells93614012006-09-30 20:45:40 +02006 default y
7 help
8 This permits the block layer to be removed from the kernel if it's not
9 needed (on some embedded devices for example). If this option is
10 disabled, then blockdev files will become unusable and some
11 filesystems (such as ext3) will become unavailable.
12
13 This option will also disable SCSI character devices and USB storage
14 since they make use of various block layer definitions and
15 facilities.
16
17 Say Y here unless you know you really don't want to mount disks and
18 suchlike.
19
20if BLOCK
21
Jens Axboe3a65dfe2005-11-04 08:43:35 +010022config LBD
23 bool "Support for Large Block Devices"
Matthew Wilcoxe6243862006-12-04 03:38:31 -070024 depends on !64BIT
Jens Axboe3a65dfe2005-11-04 08:43:35 +010025 help
26 Say Y here if you want to attach large (bigger than 2TB) discs to
27 your machine, or if you want to have a raid or loopback device
28 bigger than 2TB. Otherwise say N.
29
Jens Axboe2056a782006-03-23 20:00:26 +010030config BLK_DEV_IO_TRACE
31 bool "Support for tracing block io actions"
Jens Axboe09540e62006-03-26 14:32:09 +020032 depends on SYSFS
Jens Axboe2056a782006-03-23 20:00:26 +010033 select RELAY
34 select DEBUG_FS
35 help
36 Say Y here, if you want to be able to trace the block layer actions
37 on a given queue. Tracing allows you to see any traffic happening
38 on a block device queue. For more information (and the user space
39 support tools needed), fetch the blktrace app from:
40
41 git://brick.kernel.dk/data/git/blktrace.git
42
Takashi Satoa0f62ac2006-03-26 01:37:52 -080043config LSF
44 bool "Support for Large Single Files"
Matthew Wilcoxe6243862006-12-04 03:38:31 -070045 depends on !64BIT
Takashi Satoa0f62ac2006-03-26 01:37:52 -080046 help
Trond Myklebust88b9adb2006-03-31 02:30:46 -080047 Say Y here if you want to be able to handle very large files (bigger
48 than 2TB), otherwise say N.
49
50 If unsure, say Y.
Takashi Satoa0f62ac2006-03-26 01:37:52 -080051
Jan Engelhardt16ed0022007-07-10 12:24:11 +020052endif # BLOCK
David Howells93614012006-09-30 20:45:40 +020053
Jens Axboe3d6392c2007-07-09 12:38:05 +020054config BLK_DEV_BSG
55 bool "Block layer SG support"
56 default y
57 ---help---
58 Saying Y here will enable generic SG (SCSI generic) v3
59 support for any block device.
60
Jens Axboe3a65dfe2005-11-04 08:43:35 +010061source block/Kconfig.iosched