2005-11-04 08:43:35 +01:00
|
|
|
#
|
|
|
|
|
# Block layer core configuration
|
|
|
|
|
#
|
2007-07-10 12:24:11 +02:00
|
|
|
menuconfig BLOCK
|
2011-01-20 14:44:16 -08:00
|
|
|
bool "Enable the block layer" if EXPERT
|
2006-09-30 20:45:40 +02:00
|
|
|
default y
|
|
|
|
|
help
|
2008-04-21 09:51:04 +02:00
|
|
|
Provide block layer support for the kernel.
|
2006-09-30 20:45:40 +02:00
|
|
|
|
2008-04-21 09:51:04 +02:00
|
|
|
Disable this option to remove the block layer support from the
|
|
|
|
|
kernel. This may be useful for embedded devices.
|
|
|
|
|
|
|
|
|
|
If this option is disabled:
|
|
|
|
|
|
|
|
|
|
- block device files will become unusable
|
|
|
|
|
- some filesystems (such as ext3) will become unavailable.
|
|
|
|
|
|
|
|
|
|
Also, SCSI character devices and USB storage will be disabled since
|
|
|
|
|
they make use of various block layer definitions and facilities.
|
2006-09-30 20:45:40 +02:00
|
|
|
|
|
|
|
|
Say Y here unless you know you really don't want to mount disks and
|
|
|
|
|
suchlike.
|
|
|
|
|
|
|
|
|
|
if BLOCK
|
|
|
|
|
|
2009-06-19 08:08:50 +02:00
|
|
|
config LBDAF
|
|
|
|
|
bool "Support for large (2TB+) block devices and files"
|
2006-12-04 03:38:31 -07:00
|
|
|
depends on !64BIT
|
2009-04-21 09:27:03 +02:00
|
|
|
default y
|
2005-11-04 08:43:35 +01:00
|
|
|
help
|
2008-12-12 09:51:16 +01:00
|
|
|
Enable block devices or files of size 2TB and larger.
|
2008-04-21 09:51:04 +02:00
|
|
|
|
|
|
|
|
This option is required to support the full capacity of large
|
|
|
|
|
(2TB+) block devices, including RAID, disk, Network Block Device,
|
|
|
|
|
Logical Volume Manager (LVM) and loopback.
|
2008-12-12 09:51:16 +01:00
|
|
|
|
|
|
|
|
This option also enables support for single files larger than
|
|
|
|
|
2TB.
|
2008-04-21 09:51:04 +02:00
|
|
|
|
2009-01-06 15:16:33 -05:00
|
|
|
The ext4 filesystem requires that this feature be enabled in
|
|
|
|
|
order to support filesystems that have the huge_file feature
|
2009-04-21 09:27:03 +02:00
|
|
|
enabled. Otherwise, it will refuse to mount in the read-write
|
|
|
|
|
mode any filesystems that use the huge_file feature, which is
|
|
|
|
|
enabled by default by mke2fs.ext4.
|
2009-01-06 15:16:33 -05:00
|
|
|
|
2009-04-21 09:27:03 +02:00
|
|
|
The GFS2 filesystem also requires this feature.
|
|
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2005-11-04 08:43:35 +01:00
|
|
|
|
2007-07-09 12:38:05 +02:00
|
|
|
config BLK_DEV_BSG
|
2009-08-04 22:10:17 +02:00
|
|
|
bool "Block layer SG support v4"
|
|
|
|
|
default y
|
|
|
|
|
help
|
2008-04-21 09:51:04 +02:00
|
|
|
Saying Y here will enable generic SG (SCSI generic) v4 support
|
|
|
|
|
for any block device.
|
2007-07-17 12:22:09 +02:00
|
|
|
|
2008-04-21 09:51:04 +02:00
|
|
|
Unlike SG v3 (aka block/scsi_ioctl.c drivers/scsi/sg.c), SG v4
|
|
|
|
|
can handle complicated SCSI commands: tagged variable length cdbs
|
|
|
|
|
with bidirectional data transfers and generic request/response
|
|
|
|
|
protocols (e.g. Task Management Functions and SMP in Serial
|
|
|
|
|
Attached SCSI).
|
|
|
|
|
|
2009-08-04 22:10:17 +02:00
|
|
|
This option is required by recent UDEV versions to properly
|
|
|
|
|
access device serial numbers, etc.
|
|
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2007-07-09 12:38:05 +02:00
|
|
|
|
2011-07-31 22:05:09 +02:00
|
|
|
config BLK_DEV_BSGLIB
|
|
|
|
|
bool "Block layer SG support v4 helper lib"
|
|
|
|
|
default n
|
|
|
|
|
select BLK_DEV_BSG
|
|
|
|
|
help
|
|
|
|
|
Subsystems will normally enable this if needed. Users will not
|
|
|
|
|
normally need to manually enable this.
|
|
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
2008-06-30 20:04:41 +02:00
|
|
|
config BLK_DEV_INTEGRITY
|
|
|
|
|
bool "Block layer data integrity support"
|
|
|
|
|
---help---
|
|
|
|
|
Some storage devices allow extra information to be
|
|
|
|
|
stored/retrieved to help protect the data. The block layer
|
|
|
|
|
data integrity option provides hooks which can be used by
|
|
|
|
|
filesystems to ensure better data integrity.
|
|
|
|
|
|
|
|
|
|
Say yes here if you have a storage device that provides the
|
|
|
|
|
T10/SCSI Data Integrity Field or the T13/ATA External Path
|
|
|
|
|
Protection. If in doubt, say N.
|
|
|
|
|
|
2010-09-15 17:06:35 -04:00
|
|
|
config BLK_DEV_THROTTLING
|
|
|
|
|
bool "Block layer bio throttling support"
|
2012-10-23 13:01:46 -07:00
|
|
|
depends on BLK_CGROUP=y
|
2010-09-15 17:06:35 -04:00
|
|
|
default n
|
|
|
|
|
---help---
|
|
|
|
|
Block layer bio throttling support. It can be used to limit
|
|
|
|
|
the IO rate to a device. IO rate policies are per cgroup and
|
|
|
|
|
one needs to mount and use blkio cgroup controller for creating
|
|
|
|
|
cgroups and specifying per device IO rate policies.
|
|
|
|
|
|
|
|
|
|
See Documentation/cgroups/blkio-controller.txt for more information.
|
|
|
|
|
|
2011-09-16 00:25:05 -04:00
|
|
|
menu "Partition Types"
|
|
|
|
|
|
|
|
|
|
source "block/partitions/Kconfig"
|
|
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
2007-07-25 10:02:30 +02:00
|
|
|
endif # BLOCK
|
|
|
|
|
|
2007-10-12 17:58:36 -07:00
|
|
|
config BLOCK_COMPAT
|
|
|
|
|
bool
|
|
|
|
|
depends on BLOCK && COMPAT
|
|
|
|
|
default y
|
|
|
|
|
|
2005-11-04 08:43:35 +01:00
|
|
|
source block/Kconfig.iosched
|