xref: /openbmc/linux/drivers/md/Kconfig (revision a4ffc152)
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
81da177e4SLinus Torvalds	help
91da177e4SLinus Torvalds	  Support multiple physical spindles through a single logical device.
101da177e4SLinus Torvalds	  Required for RAID and logical volume management.
111da177e4SLinus Torvalds
12afd44034SJan Engelhardtif MD
13afd44034SJan Engelhardt
141da177e4SLinus Torvaldsconfig BLK_DEV_MD
151da177e4SLinus Torvalds	tristate "RAID support"
161da177e4SLinus Torvalds	---help---
171da177e4SLinus Torvalds	  This driver lets you combine several hard disk partitions into one
181da177e4SLinus Torvalds	  logical block device. This can be used to simply append one
191da177e4SLinus Torvalds	  partition to another one or to combine several redundant hard disks
201da177e4SLinus Torvalds	  into a RAID1/4/5 device so as to provide protection against hard
211da177e4SLinus Torvalds	  disk failures. This is called "Software RAID" since the combining of
221da177e4SLinus Torvalds	  the partitions is done by the kernel. "Hardware RAID" means that the
231da177e4SLinus Torvalds	  combining is done by a dedicated controller; if you have such a
241da177e4SLinus Torvalds	  controller, you do not need to say Y here.
251da177e4SLinus Torvalds
261da177e4SLinus Torvalds	  More information about Software RAID on Linux is contained in the
271da177e4SLinus Torvalds	  Software RAID mini-HOWTO, available from
281da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>. There you will also learn
291da177e4SLinus Torvalds	  where to get the supporting user space utilities raidtools.
301da177e4SLinus Torvalds
311da177e4SLinus Torvalds	  If unsure, say N.
321da177e4SLinus Torvalds
33a364092aSArjan van de Venconfig MD_AUTODETECT
34a364092aSArjan van de Ven	bool "Autodetect RAID arrays during kernel boot"
35ce52aebdSAlan Jenkins	depends on BLK_DEV_MD=y
36a364092aSArjan van de Ven	default y
37a364092aSArjan van de Ven	---help---
38a364092aSArjan van de Ven	  If you say Y here, then the kernel will try to autodetect raid
39a364092aSArjan van de Ven	  arrays as part of its boot process.
40a364092aSArjan van de Ven
41a364092aSArjan van de Ven	  If you don't use raid and say Y, this autodetection can cause
42a364092aSArjan van de Ven	  a several-second delay in the boot time due to various
43a364092aSArjan van de Ven	  synchronisation steps that are part of this step.
44a364092aSArjan van de Ven
45a364092aSArjan van de Ven	  If unsure, say Y.
46a364092aSArjan van de Ven
471da177e4SLinus Torvaldsconfig MD_LINEAR
481da177e4SLinus Torvalds	tristate "Linear (append) mode"
491da177e4SLinus Torvalds	depends on BLK_DEV_MD
501da177e4SLinus Torvalds	---help---
511da177e4SLinus Torvalds	  If you say Y here, then your multiple devices driver will be able to
521da177e4SLinus Torvalds	  use the so-called linear mode, i.e. it will combine the hard disk
531da177e4SLinus Torvalds	  partitions by simply appending one to the other.
541da177e4SLinus Torvalds
551da177e4SLinus Torvalds	  To compile this as a module, choose M here: the module
561da177e4SLinus Torvalds	  will be called linear.
571da177e4SLinus Torvalds
581da177e4SLinus Torvalds	  If unsure, say Y.
591da177e4SLinus Torvalds
601da177e4SLinus Torvaldsconfig MD_RAID0
611da177e4SLinus Torvalds	tristate "RAID-0 (striping) mode"
621da177e4SLinus Torvalds	depends on BLK_DEV_MD
631da177e4SLinus Torvalds	---help---
641da177e4SLinus Torvalds	  If you say Y here, then your multiple devices driver will be able to
651da177e4SLinus Torvalds	  use the so-called raid0 mode, i.e. it will combine the hard disk
661da177e4SLinus Torvalds	  partitions into one logical device in such a fashion as to fill them
671da177e4SLinus Torvalds	  up evenly, one chunk here and one chunk there. This will increase
681da177e4SLinus Torvalds	  the throughput rate if the partitions reside on distinct disks.
691da177e4SLinus Torvalds
701da177e4SLinus Torvalds	  Information about Software RAID on Linux is contained in the
711da177e4SLinus Torvalds	  Software-RAID mini-HOWTO, available from
721da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>. There you will also
731da177e4SLinus Torvalds	  learn where to get the supporting user space utilities raidtools.
741da177e4SLinus Torvalds
751da177e4SLinus Torvalds	  To compile this as a module, choose M here: the module
761da177e4SLinus Torvalds	  will be called raid0.
771da177e4SLinus Torvalds
781da177e4SLinus Torvalds	  If unsure, say Y.
791da177e4SLinus Torvalds
801da177e4SLinus Torvaldsconfig MD_RAID1
811da177e4SLinus Torvalds	tristate "RAID-1 (mirroring) mode"
821da177e4SLinus Torvalds	depends on BLK_DEV_MD
831da177e4SLinus Torvalds	---help---
841da177e4SLinus Torvalds	  A RAID-1 set consists of several disk drives which are exact copies
851da177e4SLinus Torvalds	  of each other.  In the event of a mirror failure, the RAID driver
861da177e4SLinus Torvalds	  will continue to use the operational mirrors in the set, providing
871da177e4SLinus Torvalds	  an error free MD (multiple device) to the higher levels of the
881da177e4SLinus Torvalds	  kernel.  In a set with N drives, the available space is the capacity
891da177e4SLinus Torvalds	  of a single drive, and the set protects against a failure of (N - 1)
901da177e4SLinus Torvalds	  drives.
911da177e4SLinus Torvalds
921da177e4SLinus Torvalds	  Information about Software RAID on Linux is contained in the
931da177e4SLinus Torvalds	  Software-RAID mini-HOWTO, available from
941da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>.  There you will also
951da177e4SLinus Torvalds	  learn where to get the supporting user space utilities raidtools.
961da177e4SLinus Torvalds
971da177e4SLinus Torvalds	  If you want to use such a RAID-1 set, say Y.  To compile this code
981da177e4SLinus Torvalds	  as a module, choose M here: the module will be called raid1.
991da177e4SLinus Torvalds
1001da177e4SLinus Torvalds	  If unsure, say Y.
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvaldsconfig MD_RAID10
10308fb730cSNeilBrown	tristate "RAID-10 (mirrored striping) mode"
10408fb730cSNeilBrown	depends on BLK_DEV_MD
1051da177e4SLinus Torvalds	---help---
1061da177e4SLinus Torvalds	  RAID-10 provides a combination of striping (RAID-0) and
1074d2554d0SJustin Piszcz	  mirroring (RAID-1) with easier configuration and more flexible
1081da177e4SLinus Torvalds	  layout.
1091da177e4SLinus Torvalds	  Unlike RAID-0, but like RAID-1, RAID-10 requires all devices to
1101da177e4SLinus Torvalds	  be the same size (or at least, only as much as the smallest device
1111da177e4SLinus Torvalds	  will be used).
1121da177e4SLinus Torvalds	  RAID-10 provides a variety of layouts that provide different levels
1131da177e4SLinus Torvalds	  of redundancy and performance.
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvalds	  RAID-10 requires mdadm-1.7.0 or later, available at:
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvalds	  ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/
1181da177e4SLinus Torvalds
1191da177e4SLinus Torvalds	  If unsure, say Y.
1201da177e4SLinus Torvalds
12116a53eccSNeilBrownconfig MD_RAID456
12216a53eccSNeilBrown	tristate "RAID-4/RAID-5/RAID-6 mode"
1231da177e4SLinus Torvalds	depends on BLK_DEV_MD
124f5e70d0fSDavid Woodhouse	select RAID6_PQ
1259bc89cd8SDan Williams	select ASYNC_MEMCPY
1269bc89cd8SDan Williams	select ASYNC_XOR
127ac6b53b6SDan Williams	select ASYNC_PQ
128ac6b53b6SDan Williams	select ASYNC_RAID6_RECOV
1291da177e4SLinus Torvalds	---help---
1301da177e4SLinus Torvalds	  A RAID-5 set of N drives with a capacity of C MB per drive provides
1311da177e4SLinus Torvalds	  the capacity of C * (N - 1) MB, and protects against a failure
1321da177e4SLinus Torvalds	  of a single drive. For a given sector (row) number, (N - 1) drives
1331da177e4SLinus Torvalds	  contain data sectors, and one drive contains the parity protection.
1341da177e4SLinus Torvalds	  For a RAID-4 set, the parity blocks are present on a single drive,
1351da177e4SLinus Torvalds	  while a RAID-5 set distributes the parity across the drives in one
1361da177e4SLinus Torvalds	  of the available parity distribution methods.
1371da177e4SLinus Torvalds
13816a53eccSNeilBrown	  A RAID-6 set of N drives with a capacity of C MB per drive
13916a53eccSNeilBrown	  provides the capacity of C * (N - 2) MB, and protects
14016a53eccSNeilBrown	  against a failure of any two drives. For a given sector
14116a53eccSNeilBrown	  (row) number, (N - 2) drives contain data sectors, and two
14216a53eccSNeilBrown	  drives contains two independent redundancy syndromes.  Like
14316a53eccSNeilBrown	  RAID-5, RAID-6 distributes the syndromes across the drives
14416a53eccSNeilBrown	  in one of the available parity distribution methods.
14516a53eccSNeilBrown
1461da177e4SLinus Torvalds	  Information about Software RAID on Linux is contained in the
1471da177e4SLinus Torvalds	  Software-RAID mini-HOWTO, available from
1481da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>. There you will also
1491da177e4SLinus Torvalds	  learn where to get the supporting user space utilities raidtools.
1501da177e4SLinus Torvalds
15116a53eccSNeilBrown	  If you want to use such a RAID-4/RAID-5/RAID-6 set, say Y.  To
1521da177e4SLinus Torvalds	  compile this code as a module, choose M here: the module
15316a53eccSNeilBrown	  will be called raid456.
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds	  If unsure, say Y.
1561da177e4SLinus Torvalds
15707a3b417SDan Williamsconfig MULTICORE_RAID456
15807a3b417SDan Williams	bool "RAID-4/RAID-5/RAID-6 Multicore processing (EXPERIMENTAL)"
15907a3b417SDan Williams	depends on MD_RAID456
16007a3b417SDan Williams	depends on SMP
16107a3b417SDan Williams	depends on EXPERIMENTAL
16207a3b417SDan Williams	---help---
16307a3b417SDan Williams	  Enable the raid456 module to dispatch per-stripe raid operations to a
16407a3b417SDan Williams	  thread pool.
16507a3b417SDan Williams
16607a3b417SDan Williams	  If unsure, say N.
16707a3b417SDan Williams
1681da177e4SLinus Torvaldsconfig MD_MULTIPATH
1691da177e4SLinus Torvalds	tristate "Multipath I/O support"
1701da177e4SLinus Torvalds	depends on BLK_DEV_MD
1711da177e4SLinus Torvalds	help
17293bd89a6SNeilBrown	  MD_MULTIPATH provides a simple multi-path personality for use
17393bd89a6SNeilBrown	  the MD framework.  It is not under active development.  New
17493bd89a6SNeilBrown	  projects should consider using DM_MULTIPATH which has more
17593bd89a6SNeilBrown	  features and more testing.
1761da177e4SLinus Torvalds
1771da177e4SLinus Torvalds	  If unsure, say N.
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvaldsconfig MD_FAULTY
1801da177e4SLinus Torvalds	tristate "Faulty test module for MD"
1811da177e4SLinus Torvalds	depends on BLK_DEV_MD
1821da177e4SLinus Torvalds	help
1831da177e4SLinus Torvalds	  The "faulty" module allows for a block device that occasionally returns
1841da177e4SLinus Torvalds	  read or write errors.  It is useful for testing.
1851da177e4SLinus Torvalds
1861da177e4SLinus Torvalds	  In unsure, say N.
1871da177e4SLinus Torvalds
1881da177e4SLinus Torvaldsconfig BLK_DEV_DM
1891da177e4SLinus Torvalds	tristate "Device mapper support"
1901da177e4SLinus Torvalds	---help---
1911da177e4SLinus Torvalds	  Device-mapper is a low level volume manager.  It works by allowing
1921da177e4SLinus Torvalds	  people to specify mappings for ranges of logical sectors.  Various
1931da177e4SLinus Torvalds	  mapping types are available, in addition people may write their own
1941da177e4SLinus Torvalds	  modules containing custom mappings if they wish.
1951da177e4SLinus Torvalds
1961da177e4SLinus Torvalds	  Higher level volume managers such as LVM2 use this driver.
1971da177e4SLinus Torvalds
1981da177e4SLinus Torvalds	  To compile this as a module, choose M here: the module will be
1991da177e4SLinus Torvalds	  called dm-mod.
2001da177e4SLinus Torvalds
2011da177e4SLinus Torvalds	  If unsure, say N.
2021da177e4SLinus Torvalds
203cc109201SBryn Reevesconfig DM_DEBUG
204cc109201SBryn Reeves	boolean "Device mapper debugging support"
2050149e57fSAlasdair G Kergon	depends on BLK_DEV_DM
206cc109201SBryn Reeves	---help---
207cc109201SBryn Reeves	  Enable this for messages that may help debug device-mapper problems.
208cc109201SBryn Reeves
209cc109201SBryn Reeves	  If unsure, say N.
210cc109201SBryn Reeves
21195d402f0SMikulas Patockaconfig DM_BUFIO
21295d402f0SMikulas Patocka       tristate
21395d402f0SMikulas Patocka       depends on BLK_DEV_DM && EXPERIMENTAL
21495d402f0SMikulas Patocka       ---help---
21595d402f0SMikulas Patocka	 This interface allows you to do buffered I/O on a device and acts
21695d402f0SMikulas Patocka	 as a cache, holding recently-read blocks in memory and performing
21795d402f0SMikulas Patocka	 delayed writes.
21895d402f0SMikulas Patocka
219991d9fa0SJoe Thornbersource "drivers/md/persistent-data/Kconfig"
220991d9fa0SJoe Thornber
2211da177e4SLinus Torvaldsconfig DM_CRYPT
2221da177e4SLinus Torvalds	tristate "Crypt target support"
2230149e57fSAlasdair G Kergon	depends on BLK_DEV_DM
2241da177e4SLinus Torvalds	select CRYPTO
2253263263fSHerbert Xu	select CRYPTO_CBC
2261da177e4SLinus Torvalds	---help---
2271da177e4SLinus Torvalds	  This device-mapper target allows you to create a device that
2281da177e4SLinus Torvalds	  transparently encrypts the data on it. You'll need to activate
2291da177e4SLinus Torvalds	  the ciphers you're going to use in the cryptoapi configuration.
2301da177e4SLinus Torvalds
2311da177e4SLinus Torvalds	  Information on how to use dm-crypt can be found on
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvalds	  <http://www.saout.de/misc/dm-crypt/>
2341da177e4SLinus Torvalds
2351da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the module will
2361da177e4SLinus Torvalds	  be called dm-crypt.
2371da177e4SLinus Torvalds
2381da177e4SLinus Torvalds	  If unsure, say N.
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvaldsconfig DM_SNAPSHOT
2410149e57fSAlasdair G Kergon       tristate "Snapshot target"
2420149e57fSAlasdair G Kergon       depends on BLK_DEV_DM
2431da177e4SLinus Torvalds       ---help---
2444d2554d0SJustin Piszcz         Allow volume managers to take writable snapshots of a device.
2451da177e4SLinus Torvalds
246991d9fa0SJoe Thornberconfig DM_THIN_PROVISIONING
247991d9fa0SJoe Thornber       tristate "Thin provisioning target (EXPERIMENTAL)"
248991d9fa0SJoe Thornber       depends on BLK_DEV_DM && EXPERIMENTAL
249991d9fa0SJoe Thornber       select DM_PERSISTENT_DATA
250991d9fa0SJoe Thornber       ---help---
251991d9fa0SJoe Thornber         Provides thin provisioning and snapshots that share a data store.
252991d9fa0SJoe Thornber
253991d9fa0SJoe Thornberconfig DM_DEBUG_BLOCK_STACK_TRACING
254991d9fa0SJoe Thornber	boolean "Keep stack trace of thin provisioning block lock holders"
255991d9fa0SJoe Thornber	depends on STACKTRACE_SUPPORT && DM_THIN_PROVISIONING
256991d9fa0SJoe Thornber	select STACKTRACE
257991d9fa0SJoe Thornber	---help---
258991d9fa0SJoe Thornber	  Enable this for messages that may help debug problems with the
259991d9fa0SJoe Thornber	  block manager locking used by thin provisioning.
260991d9fa0SJoe Thornber
261991d9fa0SJoe Thornber	  If unsure, say N.
262991d9fa0SJoe Thornber
263991d9fa0SJoe Thornberconfig DM_DEBUG_SPACE_MAPS
264991d9fa0SJoe Thornber	boolean "Extra validation for thin provisioning space maps"
265991d9fa0SJoe Thornber	depends on DM_THIN_PROVISIONING
266991d9fa0SJoe Thornber	---help---
267991d9fa0SJoe Thornber	  Enable this for messages that may help debug problems with the
268991d9fa0SJoe Thornber	  space maps used by thin provisioning.
269991d9fa0SJoe Thornber
270991d9fa0SJoe Thornber          If unsure, say N.
271991d9fa0SJoe Thornber
2721da177e4SLinus Torvaldsconfig DM_MIRROR
2730149e57fSAlasdair G Kergon       tristate "Mirror target"
2740149e57fSAlasdair G Kergon       depends on BLK_DEV_DM
2751da177e4SLinus Torvalds       ---help---
2761da177e4SLinus Torvalds         Allow volume managers to mirror logical volumes, also
2771da177e4SLinus Torvalds         needed for live data migration tools such as 'pvmove'.
2781da177e4SLinus Torvalds
2799d09e663SNeilBrownconfig DM_RAID
280035220b3SAlasdair G Kergon       tristate "RAID 1/4/5/6 target"
281035220b3SAlasdair G Kergon       depends on BLK_DEV_DM
282b12d437bSJonathan Brassow       select MD_RAID1
2839d09e663SNeilBrown       select MD_RAID456
2849d09e663SNeilBrown       select BLK_DEV_MD
2859d09e663SNeilBrown       ---help---
286b12d437bSJonathan Brassow	 A dm target that supports RAID1, RAID4, RAID5 and RAID6 mappings
2879d09e663SNeilBrown
2889d09e663SNeilBrown	 A RAID-5 set of N drives with a capacity of C MB per drive provides
2899d09e663SNeilBrown	 the capacity of C * (N - 1) MB, and protects against a failure
2909d09e663SNeilBrown	 of a single drive. For a given sector (row) number, (N - 1) drives
2919d09e663SNeilBrown	 contain data sectors, and one drive contains the parity protection.
2929d09e663SNeilBrown	 For a RAID-4 set, the parity blocks are present on a single drive,
2939d09e663SNeilBrown	 while a RAID-5 set distributes the parity across the drives in one
2949d09e663SNeilBrown	 of the available parity distribution methods.
2959d09e663SNeilBrown
2969d09e663SNeilBrown	 A RAID-6 set of N drives with a capacity of C MB per drive
2979d09e663SNeilBrown	 provides the capacity of C * (N - 2) MB, and protects
2989d09e663SNeilBrown	 against a failure of any two drives. For a given sector
2999d09e663SNeilBrown	 (row) number, (N - 2) drives contain data sectors, and two
3009d09e663SNeilBrown	 drives contains two independent redundancy syndromes.  Like
3019d09e663SNeilBrown	 RAID-5, RAID-6 distributes the syndromes across the drives
3029d09e663SNeilBrown	 in one of the available parity distribution methods.
3039d09e663SNeilBrown
304f5db4af4SJonthan Brassowconfig DM_LOG_USERSPACE
305f5db4af4SJonthan Brassow	tristate "Mirror userspace logging (EXPERIMENTAL)"
306f5db4af4SJonthan Brassow	depends on DM_MIRROR && EXPERIMENTAL && NET
307f5db4af4SJonthan Brassow	select CONNECTOR
308f5db4af4SJonthan Brassow	---help---
309f5db4af4SJonthan Brassow	  The userspace logging module provides a mechanism for
310f5db4af4SJonthan Brassow	  relaying the dm-dirty-log API to userspace.  Log designs
311f5db4af4SJonthan Brassow	  which are more suited to userspace implementation (e.g.
312f5db4af4SJonthan Brassow	  shared storage logs) or experimental logs can be implemented
313f5db4af4SJonthan Brassow	  by leveraging this framework.
314f5db4af4SJonthan Brassow
3151da177e4SLinus Torvaldsconfig DM_ZERO
3160149e57fSAlasdair G Kergon	tristate "Zero target"
3170149e57fSAlasdair G Kergon	depends on BLK_DEV_DM
3181da177e4SLinus Torvalds	---help---
3191da177e4SLinus Torvalds	  A target that discards writes, and returns all zeroes for
3201da177e4SLinus Torvalds	  reads.  Useful in some recovery situations.
3211da177e4SLinus Torvalds
3221da177e4SLinus Torvaldsconfig DM_MULTIPATH
3230149e57fSAlasdair G Kergon	tristate "Multipath target"
3240149e57fSAlasdair G Kergon	depends on BLK_DEV_DM
325fe9233fbSChandra Seetharaman	# nasty syntax but means make DM_MULTIPATH independent
326fe9233fbSChandra Seetharaman	# of SCSI_DH if the latter isn't defined but if
327fe9233fbSChandra Seetharaman	# it is, DM_MULTIPATH must depend on it.  We get a build
328fe9233fbSChandra Seetharaman	# error if SCSI_DH=m and DM_MULTIPATH=y
329fe9233fbSChandra Seetharaman	depends on SCSI_DH || !SCSI_DH
3301da177e4SLinus Torvalds	---help---
3311da177e4SLinus Torvalds	  Allow volume managers to support multipath hardware.
3321da177e4SLinus Torvalds
333fd5e0339SKiyoshi Uedaconfig DM_MULTIPATH_QL
334fd5e0339SKiyoshi Ueda	tristate "I/O Path Selector based on the number of in-flight I/Os"
335fd5e0339SKiyoshi Ueda	depends on DM_MULTIPATH
336fd5e0339SKiyoshi Ueda	---help---
337fd5e0339SKiyoshi Ueda	  This path selector is a dynamic load balancer which selects
338fd5e0339SKiyoshi Ueda	  the path with the least number of in-flight I/Os.
339fd5e0339SKiyoshi Ueda
340fd5e0339SKiyoshi Ueda	  If unsure, say N.
341fd5e0339SKiyoshi Ueda
342f392ba88SKiyoshi Uedaconfig DM_MULTIPATH_ST
343f392ba88SKiyoshi Ueda	tristate "I/O Path Selector based on the service time"
344f392ba88SKiyoshi Ueda	depends on DM_MULTIPATH
345f392ba88SKiyoshi Ueda	---help---
346f392ba88SKiyoshi Ueda	  This path selector is a dynamic load balancer which selects
347f392ba88SKiyoshi Ueda	  the path expected to complete the incoming I/O in the shortest
348f392ba88SKiyoshi Ueda	  time.
349f392ba88SKiyoshi Ueda
350f392ba88SKiyoshi Ueda	  If unsure, say N.
351f392ba88SKiyoshi Ueda
35226b9f228SHeinz Mauelshagenconfig DM_DELAY
35326b9f228SHeinz Mauelshagen	tristate "I/O delaying target (EXPERIMENTAL)"
35426b9f228SHeinz Mauelshagen	depends on BLK_DEV_DM && EXPERIMENTAL
35526b9f228SHeinz Mauelshagen	---help---
35626b9f228SHeinz Mauelshagen	A target that delays reads and/or writes and can send
35726b9f228SHeinz Mauelshagen	them to different devices.  Useful for testing.
35826b9f228SHeinz Mauelshagen
35926b9f228SHeinz Mauelshagen	If unsure, say N.
36026b9f228SHeinz Mauelshagen
36151e5b2bdSMike Andersonconfig DM_UEVENT
362e0b215daSAlasdair G Kergon	bool "DM uevents"
363e0b215daSAlasdair G Kergon	depends on BLK_DEV_DM
36451e5b2bdSMike Anderson	---help---
36551e5b2bdSMike Anderson	Generate udev events for DM events.
36651e5b2bdSMike Anderson
3673407ef52SJosef Bacikconfig DM_FLAKEY
3683407ef52SJosef Bacik       tristate "Flakey target (EXPERIMENTAL)"
3693407ef52SJosef Bacik       depends on BLK_DEV_DM && EXPERIMENTAL
3703407ef52SJosef Bacik       ---help---
3713407ef52SJosef Bacik         A target that intermittently fails I/O for debugging purposes.
3723407ef52SJosef Bacik
373*a4ffc152SMikulas Patockaconfig DM_VERITY
374*a4ffc152SMikulas Patocka	tristate "Verity target support (EXPERIMENTAL)"
375*a4ffc152SMikulas Patocka	depends on BLK_DEV_DM && EXPERIMENTAL
376*a4ffc152SMikulas Patocka	select CRYPTO
377*a4ffc152SMikulas Patocka	select CRYPTO_HASH
378*a4ffc152SMikulas Patocka	select DM_BUFIO
379*a4ffc152SMikulas Patocka	---help---
380*a4ffc152SMikulas Patocka	  This device-mapper target creates a read-only device that
381*a4ffc152SMikulas Patocka	  transparently validates the data on one underlying device against
382*a4ffc152SMikulas Patocka	  a pre-generated tree of cryptographic checksums stored on a second
383*a4ffc152SMikulas Patocka	  device.
384*a4ffc152SMikulas Patocka
385*a4ffc152SMikulas Patocka	  You'll need to activate the digests you're going to use in the
386*a4ffc152SMikulas Patocka	  cryptoapi configuration.
387*a4ffc152SMikulas Patocka
388*a4ffc152SMikulas Patocka	  To compile this code as a module, choose M here: the module will
389*a4ffc152SMikulas Patocka	  be called dm-verity.
390*a4ffc152SMikulas Patocka
391*a4ffc152SMikulas Patocka	  If unsure, say N.
392*a4ffc152SMikulas Patocka
393afd44034SJan Engelhardtendif # MD
394