]> bbs.cooldavid.org Git - net-next-2.6.git/blame - block/Kconfig
[BLOCK] Better fix for do_blk_trace_setup() for !CONFIG_BLOCK
[net-next-2.6.git] / block / Kconfig
CommitLineData
3a65dfe8
JA
1#
2# Block layer core configuration
3#
16ed002f 4menuconfig BLOCK
51d7513a 5 bool "Enable the block layer" if EMBEDDED
9361401e
DH
6 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
3a65dfe8
JA
22config LBD
23 bool "Support for Large Block Devices"
e6243863 24 depends on !64BIT
3a65dfe8
JA
25 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
2056a782
JA
30config BLK_DEV_IO_TRACE
31 bool "Support for tracing block io actions"
09540e69 32 depends on SYSFS
2056a782
JA
33 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
a0f62ac6
TS
43config LSF
44 bool "Support for Large Single Files"
e6243863 45 depends on !64BIT
a0f62ac6 46 help
88b9adb0
TM
47 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.
a0f62ac6 51
3d6392cf 52config BLK_DEV_BSG
319a7b7f 53 bool "Block layer SG support v4 (EXPERIMENTAL)"
80ed71ce 54 depends on EXPERIMENTAL
3d6392cf 55 ---help---
319a7b7f
FT
56 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).
3d6392cf 64
4d5d8e9d
PM
65endif # BLOCK
66
3a65dfe8 67source block/Kconfig.iosched