11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Block device driver configuration 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 5afd44034SJan Engelhardtmenuconfig MD 61da177e4SLinus Torvalds bool "Multiple devices driver support (RAID and LVM)" 7afd44034SJan Engelhardt depends on BLOCK 883fe27eaSPranith Kumar select SRCU 91da177e4SLinus Torvalds help 101da177e4SLinus Torvalds Support multiple physical spindles through a single logical device. 111da177e4SLinus Torvalds Required for RAID and logical volume management. 121da177e4SLinus Torvalds 13afd44034SJan Engelhardtif MD 14afd44034SJan Engelhardt 151da177e4SLinus Torvaldsconfig BLK_DEV_MD 161da177e4SLinus Torvalds tristate "RAID support" 171da177e4SLinus Torvalds ---help--- 181da177e4SLinus Torvalds This driver lets you combine several hard disk partitions into one 191da177e4SLinus Torvalds logical block device. This can be used to simply append one 201da177e4SLinus Torvalds partition to another one or to combine several redundant hard disks 211da177e4SLinus Torvalds into a RAID1/4/5 device so as to provide protection against hard 221da177e4SLinus Torvalds disk failures. This is called "Software RAID" since the combining of 231da177e4SLinus Torvalds the partitions is done by the kernel. "Hardware RAID" means that the 241da177e4SLinus Torvalds combining is done by a dedicated controller; if you have such a 251da177e4SLinus Torvalds controller, you do not need to say Y here. 261da177e4SLinus Torvalds 271da177e4SLinus Torvalds More information about Software RAID on Linux is contained in the 281da177e4SLinus Torvalds Software RAID mini-HOWTO, available from 291da177e4SLinus Torvalds <http://www.tldp.org/docs.html#howto>. There you will also learn 301da177e4SLinus Torvalds where to get the supporting user space utilities raidtools. 311da177e4SLinus Torvalds 321da177e4SLinus Torvalds If unsure, say N. 331da177e4SLinus Torvalds 34a364092aSArjan van de Venconfig MD_AUTODETECT 35a364092aSArjan van de Ven bool "Autodetect RAID arrays during kernel boot" 36ce52aebdSAlan Jenkins depends on BLK_DEV_MD=y 37a364092aSArjan van de Ven default y 38a364092aSArjan van de Ven ---help--- 39a364092aSArjan van de Ven If you say Y here, then the kernel will try to autodetect raid 40a364092aSArjan van de Ven arrays as part of its boot process. 41a364092aSArjan van de Ven 42a364092aSArjan van de Ven If you don't use raid and say Y, this autodetection can cause 43a364092aSArjan van de Ven a several-second delay in the boot time due to various 44a364092aSArjan van de Ven synchronisation steps that are part of this step. 45a364092aSArjan van de Ven 46a364092aSArjan van de Ven If unsure, say Y. 47a364092aSArjan van de Ven 481da177e4SLinus Torvaldsconfig MD_LINEAR 491da177e4SLinus Torvalds tristate "Linear (append) mode" 501da177e4SLinus Torvalds depends on BLK_DEV_MD 511da177e4SLinus Torvalds ---help--- 521da177e4SLinus Torvalds If you say Y here, then your multiple devices driver will be able to 531da177e4SLinus Torvalds use the so-called linear mode, i.e. it will combine the hard disk 541da177e4SLinus Torvalds partitions by simply appending one to the other. 551da177e4SLinus Torvalds 561da177e4SLinus Torvalds To compile this as a module, choose M here: the module 571da177e4SLinus Torvalds will be called linear. 581da177e4SLinus Torvalds 591da177e4SLinus Torvalds If unsure, say Y. 601da177e4SLinus Torvalds 611da177e4SLinus Torvaldsconfig MD_RAID0 621da177e4SLinus Torvalds tristate "RAID-0 (striping) mode" 631da177e4SLinus Torvalds depends on BLK_DEV_MD 641da177e4SLinus Torvalds ---help--- 651da177e4SLinus Torvalds If you say Y here, then your multiple devices driver will be able to 661da177e4SLinus Torvalds use the so-called raid0 mode, i.e. it will combine the hard disk 671da177e4SLinus Torvalds partitions into one logical device in such a fashion as to fill them 681da177e4SLinus Torvalds up evenly, one chunk here and one chunk there. This will increase 691da177e4SLinus Torvalds the throughput rate if the partitions reside on distinct disks. 701da177e4SLinus Torvalds 711da177e4SLinus Torvalds Information about Software RAID on Linux is contained in the 721da177e4SLinus Torvalds Software-RAID mini-HOWTO, available from 731da177e4SLinus Torvalds <http://www.tldp.org/docs.html#howto>. There you will also 741da177e4SLinus Torvalds learn where to get the supporting user space utilities raidtools. 751da177e4SLinus Torvalds 761da177e4SLinus Torvalds To compile this as a module, choose M here: the module 771da177e4SLinus Torvalds will be called raid0. 781da177e4SLinus Torvalds 791da177e4SLinus Torvalds If unsure, say Y. 801da177e4SLinus Torvalds 811da177e4SLinus Torvaldsconfig MD_RAID1 821da177e4SLinus Torvalds tristate "RAID-1 (mirroring) mode" 831da177e4SLinus Torvalds depends on BLK_DEV_MD 841da177e4SLinus Torvalds ---help--- 851da177e4SLinus Torvalds A RAID-1 set consists of several disk drives which are exact copies 861da177e4SLinus Torvalds of each other. In the event of a mirror failure, the RAID driver 871da177e4SLinus Torvalds will continue to use the operational mirrors in the set, providing 881da177e4SLinus Torvalds an error free MD (multiple device) to the higher levels of the 891da177e4SLinus Torvalds kernel. In a set with N drives, the available space is the capacity 901da177e4SLinus Torvalds of a single drive, and the set protects against a failure of (N - 1) 911da177e4SLinus Torvalds drives. 921da177e4SLinus Torvalds 931da177e4SLinus Torvalds Information about Software RAID on Linux is contained in the 941da177e4SLinus Torvalds Software-RAID mini-HOWTO, available from 951da177e4SLinus Torvalds <http://www.tldp.org/docs.html#howto>. There you will also 961da177e4SLinus Torvalds learn where to get the supporting user space utilities raidtools. 971da177e4SLinus Torvalds 981da177e4SLinus Torvalds If you want to use such a RAID-1 set, say Y. To compile this code 991da177e4SLinus Torvalds as a module, choose M here: the module will be called raid1. 1001da177e4SLinus Torvalds 1011da177e4SLinus Torvalds If unsure, say Y. 1021da177e4SLinus Torvalds 1031da177e4SLinus Torvaldsconfig MD_RAID10 10408fb730cSNeilBrown tristate "RAID-10 (mirrored striping) mode" 10508fb730cSNeilBrown depends on BLK_DEV_MD 1061da177e4SLinus Torvalds ---help--- 1071da177e4SLinus Torvalds RAID-10 provides a combination of striping (RAID-0) and 1084d2554d0SJustin Piszcz mirroring (RAID-1) with easier configuration and more flexible 1091da177e4SLinus Torvalds layout. 1101da177e4SLinus Torvalds Unlike RAID-0, but like RAID-1, RAID-10 requires all devices to 1111da177e4SLinus Torvalds be the same size (or at least, only as much as the smallest device 1121da177e4SLinus Torvalds will be used). 1131da177e4SLinus Torvalds RAID-10 provides a variety of layouts that provide different levels 1141da177e4SLinus Torvalds of redundancy and performance. 1151da177e4SLinus Torvalds 1161da177e4SLinus Torvalds RAID-10 requires mdadm-1.7.0 or later, available at: 1171da177e4SLinus Torvalds 1181da177e4SLinus Torvalds ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/ 1191da177e4SLinus Torvalds 1201da177e4SLinus Torvalds If unsure, say Y. 1211da177e4SLinus Torvalds 12216a53eccSNeilBrownconfig MD_RAID456 12316a53eccSNeilBrown tristate "RAID-4/RAID-5/RAID-6 mode" 1241da177e4SLinus Torvalds depends on BLK_DEV_MD 125f5e70d0fSDavid Woodhouse select RAID6_PQ 1269bc89cd8SDan Williams select ASYNC_MEMCPY 1279bc89cd8SDan Williams select ASYNC_XOR 128ac6b53b6SDan Williams select ASYNC_PQ 129ac6b53b6SDan Williams select ASYNC_RAID6_RECOV 1301da177e4SLinus Torvalds ---help--- 1311da177e4SLinus Torvalds A RAID-5 set of N drives with a capacity of C MB per drive provides 1321da177e4SLinus Torvalds the capacity of C * (N - 1) MB, and protects against a failure 1331da177e4SLinus Torvalds of a single drive. For a given sector (row) number, (N - 1) drives 1341da177e4SLinus Torvalds contain data sectors, and one drive contains the parity protection. 1351da177e4SLinus Torvalds For a RAID-4 set, the parity blocks are present on a single drive, 1361da177e4SLinus Torvalds while a RAID-5 set distributes the parity across the drives in one 1371da177e4SLinus Torvalds of the available parity distribution methods. 1381da177e4SLinus Torvalds 13916a53eccSNeilBrown A RAID-6 set of N drives with a capacity of C MB per drive 14016a53eccSNeilBrown provides the capacity of C * (N - 2) MB, and protects 14116a53eccSNeilBrown against a failure of any two drives. For a given sector 14216a53eccSNeilBrown (row) number, (N - 2) drives contain data sectors, and two 14316a53eccSNeilBrown drives contains two independent redundancy syndromes. Like 14416a53eccSNeilBrown RAID-5, RAID-6 distributes the syndromes across the drives 14516a53eccSNeilBrown in one of the available parity distribution methods. 14616a53eccSNeilBrown 1471da177e4SLinus Torvalds Information about Software RAID on Linux is contained in the 1481da177e4SLinus Torvalds Software-RAID mini-HOWTO, available from 1491da177e4SLinus Torvalds <http://www.tldp.org/docs.html#howto>. There you will also 1501da177e4SLinus Torvalds learn where to get the supporting user space utilities raidtools. 1511da177e4SLinus Torvalds 15216a53eccSNeilBrown If you want to use such a RAID-4/RAID-5/RAID-6 set, say Y. To 1531da177e4SLinus Torvalds compile this code as a module, choose M here: the module 15416a53eccSNeilBrown will be called raid456. 1551da177e4SLinus Torvalds 1561da177e4SLinus Torvalds If unsure, say Y. 1571da177e4SLinus Torvalds 1581da177e4SLinus Torvaldsconfig MD_MULTIPATH 1591da177e4SLinus Torvalds tristate "Multipath I/O support" 1601da177e4SLinus Torvalds depends on BLK_DEV_MD 1611da177e4SLinus Torvalds help 16293bd89a6SNeilBrown MD_MULTIPATH provides a simple multi-path personality for use 16393bd89a6SNeilBrown the MD framework. It is not under active development. New 16493bd89a6SNeilBrown projects should consider using DM_MULTIPATH which has more 16593bd89a6SNeilBrown features and more testing. 1661da177e4SLinus Torvalds 1671da177e4SLinus Torvalds If unsure, say N. 1681da177e4SLinus Torvalds 1691da177e4SLinus Torvaldsconfig MD_FAULTY 1701da177e4SLinus Torvalds tristate "Faulty test module for MD" 1711da177e4SLinus Torvalds depends on BLK_DEV_MD 1721da177e4SLinus Torvalds help 1731da177e4SLinus Torvalds The "faulty" module allows for a block device that occasionally returns 1741da177e4SLinus Torvalds read or write errors. It is useful for testing. 1751da177e4SLinus Torvalds 1761da177e4SLinus Torvalds In unsure, say N. 1771da177e4SLinus Torvalds 178cafe5635SKent Overstreetsource "drivers/md/bcache/Kconfig" 179cafe5635SKent Overstreet 1802995fa78SMikulas Patockaconfig BLK_DEV_DM_BUILTIN 1812995fa78SMikulas Patocka boolean 1822995fa78SMikulas Patocka 1831da177e4SLinus Torvaldsconfig BLK_DEV_DM 1841da177e4SLinus Torvalds tristate "Device mapper support" 1852995fa78SMikulas Patocka select BLK_DEV_DM_BUILTIN 1861da177e4SLinus Torvalds ---help--- 1871da177e4SLinus Torvalds Device-mapper is a low level volume manager. It works by allowing 1881da177e4SLinus Torvalds people to specify mappings for ranges of logical sectors. Various 1891da177e4SLinus Torvalds mapping types are available, in addition people may write their own 1901da177e4SLinus Torvalds modules containing custom mappings if they wish. 1911da177e4SLinus Torvalds 1921da177e4SLinus Torvalds Higher level volume managers such as LVM2 use this driver. 1931da177e4SLinus Torvalds 1941da177e4SLinus Torvalds To compile this as a module, choose M here: the module will be 1951da177e4SLinus Torvalds called dm-mod. 1961da177e4SLinus Torvalds 1971da177e4SLinus Torvalds If unsure, say N. 1981da177e4SLinus Torvalds 199cc109201SBryn Reevesconfig DM_DEBUG 200cc109201SBryn Reeves boolean "Device mapper debugging support" 2010149e57fSAlasdair G Kergon depends on BLK_DEV_DM 202cc109201SBryn Reeves ---help--- 203cc109201SBryn Reeves Enable this for messages that may help debug device-mapper problems. 204cc109201SBryn Reeves 205cc109201SBryn Reeves If unsure, say N. 206cc109201SBryn Reeves 20795d402f0SMikulas Patockaconfig DM_BUFIO 20895d402f0SMikulas Patocka tristate 209d57916a0SAlasdair G Kergon depends on BLK_DEV_DM 21095d402f0SMikulas Patocka ---help--- 21195d402f0SMikulas Patocka This interface allows you to do buffered I/O on a device and acts 21295d402f0SMikulas Patocka as a cache, holding recently-read blocks in memory and performing 21395d402f0SMikulas Patocka delayed writes. 21495d402f0SMikulas Patocka 2154f81a417SMike Snitzerconfig DM_BIO_PRISON 2164f81a417SMike Snitzer tristate 217d57916a0SAlasdair G Kergon depends on BLK_DEV_DM 2184f81a417SMike Snitzer ---help--- 2194f81a417SMike Snitzer Some bio locking schemes used by other device-mapper targets 2204f81a417SMike Snitzer including thin provisioning. 2214f81a417SMike Snitzer 222991d9fa0SJoe Thornbersource "drivers/md/persistent-data/Kconfig" 223991d9fa0SJoe Thornber 2241da177e4SLinus Torvaldsconfig DM_CRYPT 2251da177e4SLinus Torvalds tristate "Crypt target support" 2260149e57fSAlasdair G Kergon depends on BLK_DEV_DM 2271da177e4SLinus Torvalds select CRYPTO 2283263263fSHerbert Xu select CRYPTO_CBC 2291da177e4SLinus Torvalds ---help--- 2301da177e4SLinus Torvalds This device-mapper target allows you to create a device that 2311da177e4SLinus Torvalds transparently encrypts the data on it. You'll need to activate 2321da177e4SLinus Torvalds the ciphers you're going to use in the cryptoapi configuration. 2331da177e4SLinus Torvalds 2341da177e4SLinus Torvalds Information on how to use dm-crypt can be found on 2351da177e4SLinus Torvalds 2361da177e4SLinus Torvalds <http://www.saout.de/misc/dm-crypt/> 2371da177e4SLinus Torvalds 2381da177e4SLinus Torvalds To compile this code as a module, choose M here: the module will 2391da177e4SLinus Torvalds be called dm-crypt. 2401da177e4SLinus Torvalds 2411da177e4SLinus Torvalds If unsure, say N. 2421da177e4SLinus Torvalds 2431da177e4SLinus Torvaldsconfig DM_SNAPSHOT 2440149e57fSAlasdair G Kergon tristate "Snapshot target" 2450149e57fSAlasdair G Kergon depends on BLK_DEV_DM 24655494bf2SMikulas Patocka select DM_BUFIO 2471da177e4SLinus Torvalds ---help--- 2484d2554d0SJustin Piszcz Allow volume managers to take writable snapshots of a device. 2491da177e4SLinus Torvalds 250991d9fa0SJoe Thornberconfig DM_THIN_PROVISIONING 251d57916a0SAlasdair G Kergon tristate "Thin provisioning target" 252d57916a0SAlasdair G Kergon depends on BLK_DEV_DM 253991d9fa0SJoe Thornber select DM_PERSISTENT_DATA 2544f81a417SMike Snitzer select DM_BIO_PRISON 255991d9fa0SJoe Thornber ---help--- 256991d9fa0SJoe Thornber Provides thin provisioning and snapshots that share a data store. 257991d9fa0SJoe Thornber 258c6b4fcbaSJoe Thornberconfig DM_CACHE 259c6b4fcbaSJoe Thornber tristate "Cache target (EXPERIMENTAL)" 260c6b4fcbaSJoe Thornber depends on BLK_DEV_DM 261c6b4fcbaSJoe Thornber default n 262c6b4fcbaSJoe Thornber select DM_PERSISTENT_DATA 263c6b4fcbaSJoe Thornber select DM_BIO_PRISON 264c6b4fcbaSJoe Thornber ---help--- 265c6b4fcbaSJoe Thornber dm-cache attempts to improve performance of a block device by 266c6b4fcbaSJoe Thornber moving frequently used data to a smaller, higher performance 267c6b4fcbaSJoe Thornber device. Different 'policy' plugins can be used to change the 268c6b4fcbaSJoe Thornber algorithms used to select which blocks are promoted, demoted, 269c6b4fcbaSJoe Thornber cleaned etc. It supports writeback and writethrough modes. 270c6b4fcbaSJoe Thornber 271f2836352SJoe Thornberconfig DM_CACHE_MQ 272f2836352SJoe Thornber tristate "MQ Cache Policy (EXPERIMENTAL)" 273f2836352SJoe Thornber depends on DM_CACHE 274f2836352SJoe Thornber default y 275f2836352SJoe Thornber ---help--- 276f2836352SJoe Thornber A cache policy that uses a multiqueue ordered by recent hit 277f2836352SJoe Thornber count to select which blocks should be promoted and demoted. 278f2836352SJoe Thornber This is meant to be a general purpose policy. It prioritises 279f2836352SJoe Thornber reads over writes. 280f2836352SJoe Thornber 2818735a813SHeinz Mauelshagenconfig DM_CACHE_CLEANER 2828735a813SHeinz Mauelshagen tristate "Cleaner Cache Policy (EXPERIMENTAL)" 2838735a813SHeinz Mauelshagen depends on DM_CACHE 2848735a813SHeinz Mauelshagen default y 2858735a813SHeinz Mauelshagen ---help--- 2868735a813SHeinz Mauelshagen A simple cache policy that writes back all data to the 2878735a813SHeinz Mauelshagen origin. Used when decommissioning a dm-cache. 2888735a813SHeinz Mauelshagen 289eec40579SJoe Thornberconfig DM_ERA 290eec40579SJoe Thornber tristate "Era target (EXPERIMENTAL)" 291eec40579SJoe Thornber depends on BLK_DEV_DM 292eec40579SJoe Thornber default n 293eec40579SJoe Thornber select DM_PERSISTENT_DATA 294eec40579SJoe Thornber select DM_BIO_PRISON 295eec40579SJoe Thornber ---help--- 296eec40579SJoe Thornber dm-era tracks which parts of a block device are written to 297eec40579SJoe Thornber over time. Useful for maintaining cache coherency when using 298eec40579SJoe Thornber vendor snapshots. 299eec40579SJoe Thornber 3001da177e4SLinus Torvaldsconfig DM_MIRROR 3010149e57fSAlasdair G Kergon tristate "Mirror target" 3020149e57fSAlasdair G Kergon depends on BLK_DEV_DM 3031da177e4SLinus Torvalds ---help--- 3041da177e4SLinus Torvalds Allow volume managers to mirror logical volumes, also 3051da177e4SLinus Torvalds needed for live data migration tools such as 'pvmove'. 3061da177e4SLinus Torvalds 3075442851eSMikulas Patockaconfig DM_LOG_USERSPACE 3085442851eSMikulas Patocka tristate "Mirror userspace logging" 3095442851eSMikulas Patocka depends on DM_MIRROR && NET 3105442851eSMikulas Patocka select CONNECTOR 3115442851eSMikulas Patocka ---help--- 3125442851eSMikulas Patocka The userspace logging module provides a mechanism for 3135442851eSMikulas Patocka relaying the dm-dirty-log API to userspace. Log designs 3145442851eSMikulas Patocka which are more suited to userspace implementation (e.g. 3155442851eSMikulas Patocka shared storage logs) or experimental logs can be implemented 3165442851eSMikulas Patocka by leveraging this framework. 3175442851eSMikulas Patocka 3189d09e663SNeilBrownconfig DM_RAID 319d9f691c3SNeilBrown tristate "RAID 1/4/5/6/10 target" 320035220b3SAlasdair G Kergon depends on BLK_DEV_DM 321b12d437bSJonathan Brassow select MD_RAID1 322d9f691c3SNeilBrown select MD_RAID10 3239d09e663SNeilBrown select MD_RAID456 3249d09e663SNeilBrown select BLK_DEV_MD 3259d09e663SNeilBrown ---help--- 326d9f691c3SNeilBrown A dm target that supports RAID1, RAID10, RAID4, RAID5 and RAID6 mappings 3279d09e663SNeilBrown 3289d09e663SNeilBrown A RAID-5 set of N drives with a capacity of C MB per drive provides 3299d09e663SNeilBrown the capacity of C * (N - 1) MB, and protects against a failure 3309d09e663SNeilBrown of a single drive. For a given sector (row) number, (N - 1) drives 3319d09e663SNeilBrown contain data sectors, and one drive contains the parity protection. 3329d09e663SNeilBrown For a RAID-4 set, the parity blocks are present on a single drive, 3339d09e663SNeilBrown while a RAID-5 set distributes the parity across the drives in one 3349d09e663SNeilBrown of the available parity distribution methods. 3359d09e663SNeilBrown 3369d09e663SNeilBrown A RAID-6 set of N drives with a capacity of C MB per drive 3379d09e663SNeilBrown provides the capacity of C * (N - 2) MB, and protects 3389d09e663SNeilBrown against a failure of any two drives. For a given sector 3399d09e663SNeilBrown (row) number, (N - 2) drives contain data sectors, and two 3409d09e663SNeilBrown drives contains two independent redundancy syndromes. Like 3419d09e663SNeilBrown RAID-5, RAID-6 distributes the syndromes across the drives 3429d09e663SNeilBrown in one of the available parity distribution methods. 3439d09e663SNeilBrown 3441da177e4SLinus Torvaldsconfig DM_ZERO 3450149e57fSAlasdair G Kergon tristate "Zero target" 3460149e57fSAlasdair G Kergon depends on BLK_DEV_DM 3471da177e4SLinus Torvalds ---help--- 3481da177e4SLinus Torvalds A target that discards writes, and returns all zeroes for 3491da177e4SLinus Torvalds reads. Useful in some recovery situations. 3501da177e4SLinus Torvalds 3511da177e4SLinus Torvaldsconfig DM_MULTIPATH 3520149e57fSAlasdair G Kergon tristate "Multipath target" 3530149e57fSAlasdair G Kergon depends on BLK_DEV_DM 354fe9233fbSChandra Seetharaman # nasty syntax but means make DM_MULTIPATH independent 355fe9233fbSChandra Seetharaman # of SCSI_DH if the latter isn't defined but if 356fe9233fbSChandra Seetharaman # it is, DM_MULTIPATH must depend on it. We get a build 357fe9233fbSChandra Seetharaman # error if SCSI_DH=m and DM_MULTIPATH=y 358fe9233fbSChandra Seetharaman depends on SCSI_DH || !SCSI_DH 3591da177e4SLinus Torvalds ---help--- 3601da177e4SLinus Torvalds Allow volume managers to support multipath hardware. 3611da177e4SLinus Torvalds 362fd5e0339SKiyoshi Uedaconfig DM_MULTIPATH_QL 363fd5e0339SKiyoshi Ueda tristate "I/O Path Selector based on the number of in-flight I/Os" 364fd5e0339SKiyoshi Ueda depends on DM_MULTIPATH 365fd5e0339SKiyoshi Ueda ---help--- 366fd5e0339SKiyoshi Ueda This path selector is a dynamic load balancer which selects 367fd5e0339SKiyoshi Ueda the path with the least number of in-flight I/Os. 368fd5e0339SKiyoshi Ueda 369fd5e0339SKiyoshi Ueda If unsure, say N. 370fd5e0339SKiyoshi Ueda 371f392ba88SKiyoshi Uedaconfig DM_MULTIPATH_ST 372f392ba88SKiyoshi Ueda tristate "I/O Path Selector based on the service time" 373f392ba88SKiyoshi Ueda depends on DM_MULTIPATH 374f392ba88SKiyoshi Ueda ---help--- 375f392ba88SKiyoshi Ueda This path selector is a dynamic load balancer which selects 376f392ba88SKiyoshi Ueda the path expected to complete the incoming I/O in the shortest 377f392ba88SKiyoshi Ueda time. 378f392ba88SKiyoshi Ueda 379f392ba88SKiyoshi Ueda If unsure, say N. 380f392ba88SKiyoshi Ueda 38126b9f228SHeinz Mauelshagenconfig DM_DELAY 382d57916a0SAlasdair G Kergon tristate "I/O delaying target" 383d57916a0SAlasdair G Kergon depends on BLK_DEV_DM 38426b9f228SHeinz Mauelshagen ---help--- 38526b9f228SHeinz Mauelshagen A target that delays reads and/or writes and can send 38626b9f228SHeinz Mauelshagen them to different devices. Useful for testing. 38726b9f228SHeinz Mauelshagen 38826b9f228SHeinz Mauelshagen If unsure, say N. 38926b9f228SHeinz Mauelshagen 39051e5b2bdSMike Andersonconfig DM_UEVENT 391e0b215daSAlasdair G Kergon bool "DM uevents" 392e0b215daSAlasdair G Kergon depends on BLK_DEV_DM 39351e5b2bdSMike Anderson ---help--- 39451e5b2bdSMike Anderson Generate udev events for DM events. 39551e5b2bdSMike Anderson 3963407ef52SJosef Bacikconfig DM_FLAKEY 397d57916a0SAlasdair G Kergon tristate "Flakey target" 398d57916a0SAlasdair G Kergon depends on BLK_DEV_DM 3993407ef52SJosef Bacik ---help--- 4003407ef52SJosef Bacik A target that intermittently fails I/O for debugging purposes. 4013407ef52SJosef Bacik 402a4ffc152SMikulas Patockaconfig DM_VERITY 403d57916a0SAlasdair G Kergon tristate "Verity target support" 404d57916a0SAlasdair G Kergon depends on BLK_DEV_DM 405a4ffc152SMikulas Patocka select CRYPTO 406a4ffc152SMikulas Patocka select CRYPTO_HASH 407a4ffc152SMikulas Patocka select DM_BUFIO 408a4ffc152SMikulas Patocka ---help--- 409a4ffc152SMikulas Patocka This device-mapper target creates a read-only device that 410a4ffc152SMikulas Patocka transparently validates the data on one underlying device against 411a4ffc152SMikulas Patocka a pre-generated tree of cryptographic checksums stored on a second 412a4ffc152SMikulas Patocka device. 413a4ffc152SMikulas Patocka 414a4ffc152SMikulas Patocka You'll need to activate the digests you're going to use in the 415a4ffc152SMikulas Patocka cryptoapi configuration. 416a4ffc152SMikulas Patocka 417a4ffc152SMikulas Patocka To compile this code as a module, choose M here: the module will 418a4ffc152SMikulas Patocka be called dm-verity. 419a4ffc152SMikulas Patocka 420a4ffc152SMikulas Patocka If unsure, say N. 421a4ffc152SMikulas Patocka 4229d0eb0abSJim Ramsayconfig DM_SWITCH 4239d0eb0abSJim Ramsay tristate "Switch target support (EXPERIMENTAL)" 4249d0eb0abSJim Ramsay depends on BLK_DEV_DM 4259d0eb0abSJim Ramsay ---help--- 4269d0eb0abSJim Ramsay This device-mapper target creates a device that supports an arbitrary 4279d0eb0abSJim Ramsay mapping of fixed-size regions of I/O across a fixed set of paths. 4289d0eb0abSJim Ramsay The path used for any specific region can be switched dynamically 4299d0eb0abSJim Ramsay by sending the target a message. 4309d0eb0abSJim Ramsay 4319d0eb0abSJim Ramsay To compile this code as a module, choose M here: the module will 4329d0eb0abSJim Ramsay be called dm-switch. 4339d0eb0abSJim Ramsay 4349d0eb0abSJim Ramsay If unsure, say N. 4359d0eb0abSJim Ramsay 436afd44034SJan Engelhardtendif # MD 437