| 1 | # |
| 2 | # Block layer core configuration |
| 3 | # |
| 4 | menuconfig BLOCK |
| 5 | bool "Enable the block layer" if EMBEDDED |
| 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 | |
| 20 | if BLOCK |
| 21 | |
| 22 | config LBD |
| 23 | bool "Support for Large Block Devices" |
| 24 | depends on !64BIT |
| 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 | |
| 30 | config BLK_DEV_IO_TRACE |
| 31 | bool "Support for tracing block io actions" |
| 32 | depends on SYSFS |
| 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 | |
| 43 | config LSF |
| 44 | bool "Support for Large Single Files" |
| 45 | depends on !64BIT |
| 46 | help |
| 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. |
| 51 | |
| 52 | config BLK_DEV_BSG |
| 53 | bool "Block layer SG support v4 (EXPERIMENTAL)" |
| 54 | depends on EXPERIMENTAL |
| 55 | ---help--- |
| 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). |
| 64 | |
| 65 | endif # BLOCK |
| 66 | |
| 67 | config BLOCK_COMPAT |
| 68 | bool |
| 69 | depends on BLOCK && COMPAT |
| 70 | default y |
| 71 | |
| 72 | source block/Kconfig.iosched |