Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 1 | # |
| 2 | # Block layer core configuration |
| 3 | # |
Jan Engelhardt | 16ed002 | 2007-07-10 12:24:11 +0200 | [diff] [blame] | 4 | menuconfig BLOCK |
Jens Axboe | 51d7513 | 2006-09-30 21:14:05 +0200 | [diff] [blame] | 5 | bool "Enable the block layer" if EMBEDDED |
David Howells | 9361401 | 2006-09-30 20:45:40 +0200 | [diff] [blame] | 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 | |
Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 22 | config LBD |
| 23 | bool "Support for Large Block Devices" |
Matthew Wilcox | e624386 | 2006-12-04 03:38:31 -0700 | [diff] [blame] | 24 | depends on !64BIT |
Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 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 | |
Jens Axboe | 2056a78 | 2006-03-23 20:00:26 +0100 | [diff] [blame] | 30 | config BLK_DEV_IO_TRACE |
| 31 | bool "Support for tracing block io actions" |
Jens Axboe | 09540e6 | 2006-03-26 14:32:09 +0200 | [diff] [blame] | 32 | depends on SYSFS |
Jens Axboe | 2056a78 | 2006-03-23 20:00:26 +0100 | [diff] [blame] | 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 | |
Takashi Sato | a0f62ac | 2006-03-26 01:37:52 -0800 | [diff] [blame] | 43 | config LSF |
| 44 | bool "Support for Large Single Files" |
Matthew Wilcox | e624386 | 2006-12-04 03:38:31 -0700 | [diff] [blame] | 45 | depends on !64BIT |
Takashi Sato | a0f62ac | 2006-03-26 01:37:52 -0800 | [diff] [blame] | 46 | help |
Trond Myklebust | 88b9adb | 2006-03-31 02:30:46 -0800 | [diff] [blame] | 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. |
Takashi Sato | a0f62ac | 2006-03-26 01:37:52 -0800 | [diff] [blame] | 51 | |
Jan Engelhardt | 16ed002 | 2007-07-10 12:24:11 +0200 | [diff] [blame] | 52 | endif # BLOCK |
David Howells | 9361401 | 2006-09-30 20:45:40 +0200 | [diff] [blame] | 53 | |
Jens Axboe | 3d6392c | 2007-07-09 12:38:05 +0200 | [diff] [blame] | 54 | config BLK_DEV_BSG |
FUJITA Tomonori | 319a7b7 | 2007-07-17 12:22:09 +0200 | [diff] [blame] | 55 | bool "Block layer SG support v4 (EXPERIMENTAL)" |
James Bottomley | 80ed71c | 2007-07-19 10:15:10 -0500 | [diff] [blame^] | 56 | depends on EXPERIMENTAL |
Jens Axboe | 3d6392c | 2007-07-09 12:38:05 +0200 | [diff] [blame] | 57 | ---help--- |
FUJITA Tomonori | 319a7b7 | 2007-07-17 12:22:09 +0200 | [diff] [blame] | 58 | Saying Y here will enable generic SG (SCSI generic) v4 support |
| 59 | for any block device. |
| 60 | |
| 61 | Unlike SG v3 (aka block/scsi_ioctl.c drivers/scsi/sg.c), SG v4 |
| 62 | can handle complicated SCSI commands: tagged variable length cdbs |
| 63 | with bidirectional data transfers and generic request/response |
| 64 | protocols (e.g. Task Management Functions and SMP in Serial |
| 65 | Attached SCSI). |
Jens Axboe | 3d6392c | 2007-07-09 12:38:05 +0200 | [diff] [blame] | 66 | |
Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 67 | source block/Kconfig.iosched |