blob: 7db9a411649d996e6b5ae9f78f1134d96fb4c27c [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
Jens Axboe75ce6fa2008-04-15 10:23:35 +020041 git://git.kernel.dk/blktrace.git
Jens Axboe2056a782006-03-23 20:00:26 +010042
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
Jens Axboe3d6392c2007-07-09 12:38:05 +020052config BLK_DEV_BSG
FUJITA Tomonori319a7b72007-07-17 12:22:09 +020053 bool "Block layer SG support v4 (EXPERIMENTAL)"
James Bottomley80ed71c2007-07-19 10:15:10 -050054 depends on EXPERIMENTAL
Jens Axboe3d6392c2007-07-09 12:38:05 +020055 ---help---
FUJITA Tomonori319a7b72007-07-17 12:22:09 +020056 Saying Y here will enable generic SG (SCSI generic) v4 support
57 for any block device.
58
59 Unlike SG v3 (aka block/scsi_ioctl.c drivers/scsi/sg.c), SG v4
60 can handle complicated SCSI commands: tagged variable length cdbs
61 with bidirectional data transfers and generic request/response
62 protocols (e.g. Task Management Functions and SMP in Serial
63 Attached SCSI).
Jens Axboe3d6392c2007-07-09 12:38:05 +020064
Linus Torvalds2b9e0aa2007-10-12 17:58:36 -070065endif # BLOCK
66
Jens Axboe99874d52007-10-12 12:50:41 +020067config BLOCK_COMPAT
68 bool
Linus Torvalds2b9e0aa2007-10-12 17:58:36 -070069 depends on BLOCK && COMPAT
Jens Axboe99874d52007-10-12 12:50:41 +020070 default y
71
Jens Axboe3a65dfe2005-11-04 08:43:35 +010072source block/Kconfig.iosched