13a65dfe8SJens Axboe# 23a65dfe8SJens Axboe# Block layer core configuration 33a65dfe8SJens Axboe# 416ed002fSJan Engelhardtmenuconfig BLOCK 551d7513aSJens Axboe bool "Enable the block layer" if EMBEDDED 69361401eSDavid Howells default y 79361401eSDavid Howells help 8ee86418dSNick Andrew Provide block layer support for the kernel. 99361401eSDavid Howells 10ee86418dSNick Andrew Disable this option to remove the block layer support from the 11ee86418dSNick Andrew kernel. This may be useful for embedded devices. 12ee86418dSNick Andrew 13ee86418dSNick Andrew If this option is disabled: 14ee86418dSNick Andrew 15ee86418dSNick Andrew - block device files will become unusable 16ee86418dSNick Andrew - some filesystems (such as ext3) will become unavailable. 17ee86418dSNick Andrew 18ee86418dSNick Andrew Also, SCSI character devices and USB storage will be disabled since 19ee86418dSNick Andrew they make use of various block layer definitions and facilities. 209361401eSDavid Howells 219361401eSDavid Howells Say Y here unless you know you really don't want to mount disks and 229361401eSDavid Howells suchlike. 239361401eSDavid Howells 249361401eSDavid Howellsif BLOCK 259361401eSDavid Howells 263a65dfe8SJens Axboeconfig LBD 27b3a6ffe1SJens Axboe bool "Support for large block devices and files" 28e6243863SMatthew Wilcox depends on !64BIT 293a65dfe8SJens Axboe help 30b3a6ffe1SJens Axboe Enable block devices or files of size 2TB and larger. 31ee86418dSNick Andrew 32ee86418dSNick Andrew This option is required to support the full capacity of large 33ee86418dSNick Andrew (2TB+) block devices, including RAID, disk, Network Block Device, 34ee86418dSNick Andrew Logical Volume Manager (LVM) and loopback. 35ee86418dSNick Andrew 36b3a6ffe1SJens Axboe This option also enables support for single files larger than 37b3a6ffe1SJens Axboe 2TB. 38ee86418dSNick Andrew 39*4d783b09STheodore Ts'o The ext4 filesystem requires that this feature be enabled in 40*4d783b09STheodore Ts'o order to support filesystems that have the huge_file feature 41*4d783b09STheodore Ts'o enabled. Otherwise, it will refuse to mount any filesystems 42*4d783b09STheodore Ts'o that use the huge_file feature, which is enabled by default 43*4d783b09STheodore Ts'o by mke2fs.ext4. The GFS2 filesystem also requires this feature. 44*4d783b09STheodore Ts'o 45ee86418dSNick Andrew If unsure, say N. 463a65dfe8SJens Axboe 472056a782SJens Axboeconfig BLK_DEV_IO_TRACE 482056a782SJens Axboe bool "Support for tracing block io actions" 4909540e69SJens Axboe depends on SYSFS 502056a782SJens Axboe select RELAY 512056a782SJens Axboe select DEBUG_FS 525f3ea37cSArnaldo Carvalho de Melo select TRACEPOINTS 532056a782SJens Axboe help 54ee86418dSNick Andrew Say Y here if you want to be able to trace the block layer actions 552056a782SJens Axboe on a given queue. Tracing allows you to see any traffic happening 562056a782SJens Axboe on a block device queue. For more information (and the userspace 57ee86418dSNick Andrew support tools needed), fetch the blktrace tools from: 582056a782SJens Axboe 5975ce6facSJens Axboe git://git.kernel.dk/blktrace.git 602056a782SJens Axboe 61ee86418dSNick Andrew If unsure, say N. 62ee86418dSNick Andrew 633d6392cfSJens Axboeconfig BLK_DEV_BSG 64319a7b7fSFUJITA Tomonori bool "Block layer SG support v4 (EXPERIMENTAL)" 6580ed71ceSJames Bottomley depends on EXPERIMENTAL 663d6392cfSJens Axboe ---help--- 67319a7b7fSFUJITA Tomonori Saying Y here will enable generic SG (SCSI generic) v4 support 68319a7b7fSFUJITA Tomonori for any block device. 69319a7b7fSFUJITA Tomonori 70319a7b7fSFUJITA Tomonori Unlike SG v3 (aka block/scsi_ioctl.c drivers/scsi/sg.c), SG v4 71319a7b7fSFUJITA Tomonori can handle complicated SCSI commands: tagged variable length cdbs 72319a7b7fSFUJITA Tomonori with bidirectional data transfers and generic request/response 73319a7b7fSFUJITA Tomonori protocols (e.g. Task Management Functions and SMP in Serial 74319a7b7fSFUJITA Tomonori Attached SCSI). 753d6392cfSJens Axboe 76ee86418dSNick Andrew If unsure, say N. 77ee86418dSNick Andrew 787ba1ba12SMartin K. Petersenconfig BLK_DEV_INTEGRITY 797ba1ba12SMartin K. Petersen bool "Block layer data integrity support" 807ba1ba12SMartin K. Petersen ---help--- 817ba1ba12SMartin K. Petersen Some storage devices allow extra information to be 827ba1ba12SMartin K. Petersen stored/retrieved to help protect the data. The block layer 837ba1ba12SMartin K. Petersen data integrity option provides hooks which can be used by 847ba1ba12SMartin K. Petersen filesystems to ensure better data integrity. 857ba1ba12SMartin K. Petersen 867ba1ba12SMartin K. Petersen Say yes here if you have a storage device that provides the 877ba1ba12SMartin K. Petersen T10/SCSI Data Integrity Field or the T13/ATA External Path 887ba1ba12SMartin K. Petersen Protection. If in doubt, say N. 897ba1ba12SMartin K. Petersen 902b9e0aaeSLinus Torvaldsendif # BLOCK 912b9e0aaeSLinus Torvalds 9299874d50SJens Axboeconfig BLOCK_COMPAT 9399874d50SJens Axboe bool 942b9e0aaeSLinus Torvalds depends on BLOCK && COMPAT 9599874d50SJens Axboe default y 9699874d50SJens Axboe 973a65dfe8SJens Axboesource block/Kconfig.iosched 98