Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Block device driver configuration
  4. #
  5. menuconfig MD
  6. bool "Multiple devices driver support (RAID and LVM)"
  7. depends on BLOCK
  8. select SRCU
  9. help
  10. Support multiple physical spindles through a single logical device.
  11. Required for RAID and logical volume management.
  12. if MD
  13. config BLK_DEV_MD
  14. tristate "RAID support"
  15. select BLOCK_HOLDER_DEPRECATED if SYSFS
  16. # BLOCK_LEGACY_AUTOLOAD requirement should be removed
  17. # after relevant mdadm enhancements - to make "names=yes"
  18. # the default - are widely available.
  19. select BLOCK_LEGACY_AUTOLOAD
  20. help
  21. This driver lets you combine several hard disk partitions into one
  22. logical block device. This can be used to simply append one
  23. partition to another one or to combine several redundant hard disks
  24. into a RAID1/4/5 device so as to provide protection against hard
  25. disk failures. This is called "Software RAID" since the combining of
  26. the partitions is done by the kernel. "Hardware RAID" means that the
  27. combining is done by a dedicated controller; if you have such a
  28. controller, you do not need to say Y here.
  29. More information about Software RAID on Linux is contained in the
  30. Software RAID mini-HOWTO, available from
  31. <https://www.tldp.org/docs.html#howto>. There you will also learn
  32. where to get the supporting user space utilities raidtools.
  33. If unsure, say N.
  34. config MD_AUTODETECT
  35. bool "Autodetect RAID arrays during kernel boot"
  36. depends on BLK_DEV_MD=y
  37. default y
  38. help
  39. If you say Y here, then the kernel will try to autodetect raid
  40. arrays as part of its boot process.
  41. If you don't use raid and say Y, this autodetection can cause
  42. a several-second delay in the boot time due to various
  43. synchronisation steps that are part of this step.
  44. If unsure, say Y.
  45. config MD_LINEAR
  46. tristate "Linear (append) mode (deprecated)"
  47. depends on BLK_DEV_MD
  48. help
  49. If you say Y here, then your multiple devices driver will be able to
  50. use the so-called linear mode, i.e. it will combine the hard disk
  51. partitions by simply appending one to the other.
  52. To compile this as a module, choose M here: the module
  53. will be called linear.
  54. If unsure, say Y.
  55. config MD_RAID0
  56. tristate "RAID-0 (striping) mode"
  57. depends on BLK_DEV_MD
  58. help
  59. If you say Y here, then your multiple devices driver will be able to
  60. use the so-called raid0 mode, i.e. it will combine the hard disk
  61. partitions into one logical device in such a fashion as to fill them
  62. up evenly, one chunk here and one chunk there. This will increase
  63. the throughput rate if the partitions reside on distinct disks.
  64. Information about Software RAID on Linux is contained in the
  65. Software-RAID mini-HOWTO, available from
  66. <https://www.tldp.org/docs.html#howto>. There you will also
  67. learn where to get the supporting user space utilities raidtools.
  68. To compile this as a module, choose M here: the module
  69. will be called raid0.
  70. If unsure, say Y.
  71. config MD_RAID1
  72. tristate "RAID-1 (mirroring) mode"
  73. depends on BLK_DEV_MD
  74. help
  75. A RAID-1 set consists of several disk drives which are exact copies
  76. of each other. In the event of a mirror failure, the RAID driver
  77. will continue to use the operational mirrors in the set, providing
  78. an error free MD (multiple device) to the higher levels of the
  79. kernel. In a set with N drives, the available space is the capacity
  80. of a single drive, and the set protects against a failure of (N - 1)
  81. drives.
  82. Information about Software RAID on Linux is contained in the
  83. Software-RAID mini-HOWTO, available from
  84. <https://www.tldp.org/docs.html#howto>. There you will also
  85. learn where to get the supporting user space utilities raidtools.
  86. If you want to use such a RAID-1 set, say Y. To compile this code
  87. as a module, choose M here: the module will be called raid1.
  88. If unsure, say Y.
  89. config MD_RAID10
  90. tristate "RAID-10 (mirrored striping) mode"
  91. depends on BLK_DEV_MD
  92. help
  93. RAID-10 provides a combination of striping (RAID-0) and
  94. mirroring (RAID-1) with easier configuration and more flexible
  95. layout.
  96. Unlike RAID-0, but like RAID-1, RAID-10 requires all devices to
  97. be the same size (or at least, only as much as the smallest device
  98. will be used).
  99. RAID-10 provides a variety of layouts that provide different levels
  100. of redundancy and performance.
  101. RAID-10 requires mdadm-1.7.0 or later, available at:
  102. https://www.kernel.org/pub/linux/utils/raid/mdadm/
  103. If unsure, say Y.
  104. config MD_RAID456
  105. tristate "RAID-4/RAID-5/RAID-6 mode"
  106. depends on BLK_DEV_MD
  107. select RAID6_PQ
  108. select LIBCRC32C
  109. select ASYNC_MEMCPY
  110. select ASYNC_XOR
  111. select ASYNC_PQ
  112. select ASYNC_RAID6_RECOV
  113. help
  114. A RAID-5 set of N drives with a capacity of C MB per drive provides
  115. the capacity of C * (N - 1) MB, and protects against a failure
  116. of a single drive. For a given sector (row) number, (N - 1) drives
  117. contain data sectors, and one drive contains the parity protection.
  118. For a RAID-4 set, the parity blocks are present on a single drive,
  119. while a RAID-5 set distributes the parity across the drives in one
  120. of the available parity distribution methods.
  121. A RAID-6 set of N drives with a capacity of C MB per drive
  122. provides the capacity of C * (N - 2) MB, and protects
  123. against a failure of any two drives. For a given sector
  124. (row) number, (N - 2) drives contain data sectors, and two
  125. drives contains two independent redundancy syndromes. Like
  126. RAID-5, RAID-6 distributes the syndromes across the drives
  127. in one of the available parity distribution methods.
  128. Information about Software RAID on Linux is contained in the
  129. Software-RAID mini-HOWTO, available from
  130. <https://www.tldp.org/docs.html#howto>. There you will also
  131. learn where to get the supporting user space utilities raidtools.
  132. If you want to use such a RAID-4/RAID-5/RAID-6 set, say Y. To
  133. compile this code as a module, choose M here: the module
  134. will be called raid456.
  135. If unsure, say Y.
  136. config MD_MULTIPATH
  137. tristate "Multipath I/O support (deprecated)"
  138. depends on BLK_DEV_MD
  139. help
  140. MD_MULTIPATH provides a simple multi-path personality for use
  141. the MD framework. It is not under active development. New
  142. projects should consider using DM_MULTIPATH which has more
  143. features and more testing.
  144. If unsure, say N.
  145. config MD_FAULTY
  146. tristate "Faulty test module for MD (deprecated)"
  147. depends on BLK_DEV_MD
  148. help
  149. The "faulty" module allows for a block device that occasionally returns
  150. read or write errors. It is useful for testing.
  151. In unsure, say N.
  152. config MD_CLUSTER
  153. tristate "Cluster Support for MD"
  154. depends on BLK_DEV_MD
  155. depends on DLM
  156. default n
  157. help
  158. Clustering support for MD devices. This enables locking and
  159. synchronization across multiple systems on the cluster, so all
  160. nodes in the cluster can access the MD devices simultaneously.
  161. This brings the redundancy (and uptime) of RAID levels across the
  162. nodes of the cluster. Currently, it can work with raid1 and raid10
  163. (limited support).
  164. If unsure, say N.
  165. source "drivers/md/bcache/Kconfig"
  166. config BLK_DEV_DM_BUILTIN
  167. bool
  168. config BLK_DEV_DM
  169. tristate "Device mapper support"
  170. select BLOCK_HOLDER_DEPRECATED if SYSFS
  171. select BLK_DEV_DM_BUILTIN
  172. select BLK_MQ_STACKING
  173. depends on DAX || DAX=n
  174. help
  175. Device-mapper is a low level volume manager. It works by allowing
  176. people to specify mappings for ranges of logical sectors. Various
  177. mapping types are available, in addition people may write their own
  178. modules containing custom mappings if they wish.
  179. Higher level volume managers such as LVM2 use this driver.
  180. To compile this as a module, choose M here: the module will be
  181. called dm-mod.
  182. If unsure, say N.
  183. config DM_DEBUG
  184. bool "Device mapper debugging support"
  185. depends on BLK_DEV_DM
  186. help
  187. Enable this for messages that may help debug device-mapper problems.
  188. If unsure, say N.
  189. config DM_BUFIO
  190. tristate
  191. depends on BLK_DEV_DM
  192. help
  193. This interface allows you to do buffered I/O on a device and acts
  194. as a cache, holding recently-read blocks in memory and performing
  195. delayed writes.
  196. config DM_DEBUG_BLOCK_MANAGER_LOCKING
  197. bool "Block manager locking"
  198. depends on DM_BUFIO
  199. help
  200. Block manager locking can catch various metadata corruption issues.
  201. If unsure, say N.
  202. config DM_DEBUG_BLOCK_STACK_TRACING
  203. bool "Keep stack trace of persistent data block lock holders"
  204. depends on STACKTRACE_SUPPORT && DM_DEBUG_BLOCK_MANAGER_LOCKING
  205. select STACKTRACE
  206. help
  207. Enable this for messages that may help debug problems with the
  208. block manager locking used by thin provisioning and caching.
  209. If unsure, say N.
  210. config DM_BIO_PRISON
  211. tristate
  212. depends on BLK_DEV_DM
  213. help
  214. Some bio locking schemes used by other device-mapper targets
  215. including thin provisioning.
  216. source "drivers/md/persistent-data/Kconfig"
  217. config DM_UNSTRIPED
  218. tristate "Unstriped target"
  219. depends on BLK_DEV_DM
  220. help
  221. Unstripes I/O so it is issued solely on a single drive in a HW
  222. RAID0 or dm-striped target.
  223. config DM_CRYPT
  224. tristate "Crypt target support"
  225. depends on BLK_DEV_DM
  226. depends on (ENCRYPTED_KEYS || ENCRYPTED_KEYS=n)
  227. depends on (TRUSTED_KEYS || TRUSTED_KEYS=n)
  228. select CRYPTO
  229. select CRYPTO_CBC
  230. select CRYPTO_ESSIV
  231. help
  232. This device-mapper target allows you to create a device that
  233. transparently encrypts the data on it. You'll need to activate
  234. the ciphers you're going to use in the cryptoapi configuration.
  235. For further information on dm-crypt and userspace tools see:
  236. <https://gitlab.com/cryptsetup/cryptsetup/wikis/DMCrypt>
  237. To compile this code as a module, choose M here: the module will
  238. be called dm-crypt.
  239. If unsure, say N.
  240. config DM_DEFAULT_KEY
  241. tristate "Default-key target support"
  242. depends on BLK_DEV_DM
  243. depends on BLK_INLINE_ENCRYPTION
  244. # dm-default-key doesn't require -o inlinecrypt, but it does currently
  245. # rely on the inline encryption hooks being built into the kernel.
  246. depends on FS_ENCRYPTION_INLINE_CRYPT
  247. help
  248. This device-mapper target allows you to create a device that
  249. assigns a default encryption key to bios that aren't for the
  250. contents of an encrypted file.
  251. This ensures that all blocks on-disk will be encrypted with
  252. some key, without the performance hit of file contents being
  253. encrypted twice when fscrypt (File-Based Encryption) is used.
  254. It is only appropriate to use dm-default-key when key
  255. configuration is tightly controlled, like it is in Android,
  256. such that all fscrypt keys are at least as hard to compromise
  257. as the default key.
  258. config DM_SNAPSHOT
  259. tristate "Snapshot target"
  260. depends on BLK_DEV_DM
  261. select DM_BUFIO
  262. help
  263. Allow volume managers to take writable snapshots of a device.
  264. config DM_THIN_PROVISIONING
  265. tristate "Thin provisioning target"
  266. depends on BLK_DEV_DM
  267. select DM_PERSISTENT_DATA
  268. select DM_BIO_PRISON
  269. help
  270. Provides thin provisioning and snapshots that share a data store.
  271. config DM_CACHE
  272. tristate "Cache target (EXPERIMENTAL)"
  273. depends on BLK_DEV_DM
  274. default n
  275. select DM_PERSISTENT_DATA
  276. select DM_BIO_PRISON
  277. help
  278. dm-cache attempts to improve performance of a block device by
  279. moving frequently used data to a smaller, higher performance
  280. device. Different 'policy' plugins can be used to change the
  281. algorithms used to select which blocks are promoted, demoted,
  282. cleaned etc. It supports writeback and writethrough modes.
  283. config DM_CACHE_SMQ
  284. tristate "Stochastic MQ Cache Policy (EXPERIMENTAL)"
  285. depends on DM_CACHE
  286. default y
  287. help
  288. A cache policy that uses a multiqueue ordered by recent hits
  289. to select which blocks should be promoted and demoted.
  290. This is meant to be a general purpose policy. It prioritises
  291. reads over writes. This SMQ policy (vs MQ) offers the promise
  292. of less memory utilization, improved performance and increased
  293. adaptability in the face of changing workloads.
  294. config DM_WRITECACHE
  295. tristate "Writecache target"
  296. depends on BLK_DEV_DM
  297. help
  298. The writecache target caches writes on persistent memory or SSD.
  299. It is intended for databases or other programs that need extremely
  300. low commit latency.
  301. The writecache target doesn't cache reads because reads are supposed
  302. to be cached in standard RAM.
  303. config DM_EBS
  304. tristate "Emulated block size target (EXPERIMENTAL)"
  305. depends on BLK_DEV_DM && !HIGHMEM
  306. select DM_BUFIO
  307. help
  308. dm-ebs emulates smaller logical block size on backing devices
  309. with larger ones (e.g. 512 byte sectors on 4K native disks).
  310. config DM_ERA
  311. tristate "Era target (EXPERIMENTAL)"
  312. depends on BLK_DEV_DM
  313. default n
  314. select DM_PERSISTENT_DATA
  315. select DM_BIO_PRISON
  316. help
  317. dm-era tracks which parts of a block device are written to
  318. over time. Useful for maintaining cache coherency when using
  319. vendor snapshots.
  320. config DM_CLONE
  321. tristate "Clone target (EXPERIMENTAL)"
  322. depends on BLK_DEV_DM
  323. default n
  324. select DM_PERSISTENT_DATA
  325. help
  326. dm-clone produces a one-to-one copy of an existing, read-only source
  327. device into a writable destination device. The cloned device is
  328. visible/mountable immediately and the copy of the source device to the
  329. destination device happens in the background, in parallel with user
  330. I/O.
  331. If unsure, say N.
  332. config DM_MIRROR
  333. tristate "Mirror target"
  334. depends on BLK_DEV_DM
  335. help
  336. Allow volume managers to mirror logical volumes, also
  337. needed for live data migration tools such as 'pvmove'.
  338. config DM_LOG_USERSPACE
  339. tristate "Mirror userspace logging"
  340. depends on DM_MIRROR && NET
  341. select CONNECTOR
  342. help
  343. The userspace logging module provides a mechanism for
  344. relaying the dm-dirty-log API to userspace. Log designs
  345. which are more suited to userspace implementation (e.g.
  346. shared storage logs) or experimental logs can be implemented
  347. by leveraging this framework.
  348. config DM_RAID
  349. tristate "RAID 1/4/5/6/10 target"
  350. depends on BLK_DEV_DM
  351. select MD_RAID0
  352. select MD_RAID1
  353. select MD_RAID10
  354. select MD_RAID456
  355. select BLK_DEV_MD
  356. help
  357. A dm target that supports RAID1, RAID10, RAID4, RAID5 and RAID6 mappings
  358. A RAID-5 set of N drives with a capacity of C MB per drive provides
  359. the capacity of C * (N - 1) MB, and protects against a failure
  360. of a single drive. For a given sector (row) number, (N - 1) drives
  361. contain data sectors, and one drive contains the parity protection.
  362. For a RAID-4 set, the parity blocks are present on a single drive,
  363. while a RAID-5 set distributes the parity across the drives in one
  364. of the available parity distribution methods.
  365. A RAID-6 set of N drives with a capacity of C MB per drive
  366. provides the capacity of C * (N - 2) MB, and protects
  367. against a failure of any two drives. For a given sector
  368. (row) number, (N - 2) drives contain data sectors, and two
  369. drives contains two independent redundancy syndromes. Like
  370. RAID-5, RAID-6 distributes the syndromes across the drives
  371. in one of the available parity distribution methods.
  372. config DM_ZERO
  373. tristate "Zero target"
  374. depends on BLK_DEV_DM
  375. help
  376. A target that discards writes, and returns all zeroes for
  377. reads. Useful in some recovery situations.
  378. config DM_MULTIPATH
  379. tristate "Multipath target"
  380. depends on BLK_DEV_DM
  381. # nasty syntax but means make DM_MULTIPATH independent
  382. # of SCSI_DH if the latter isn't defined but if
  383. # it is, DM_MULTIPATH must depend on it. We get a build
  384. # error if SCSI_DH=m and DM_MULTIPATH=y
  385. depends on !SCSI_DH || SCSI
  386. help
  387. Allow volume managers to support multipath hardware.
  388. config DM_MULTIPATH_QL
  389. tristate "I/O Path Selector based on the number of in-flight I/Os"
  390. depends on DM_MULTIPATH
  391. help
  392. This path selector is a dynamic load balancer which selects
  393. the path with the least number of in-flight I/Os.
  394. If unsure, say N.
  395. config DM_MULTIPATH_ST
  396. tristate "I/O Path Selector based on the service time"
  397. depends on DM_MULTIPATH
  398. help
  399. This path selector is a dynamic load balancer which selects
  400. the path expected to complete the incoming I/O in the shortest
  401. time.
  402. If unsure, say N.
  403. config DM_MULTIPATH_HST
  404. tristate "I/O Path Selector based on historical service time"
  405. depends on DM_MULTIPATH
  406. help
  407. This path selector is a dynamic load balancer which selects
  408. the path expected to complete the incoming I/O in the shortest
  409. time by comparing estimated service time (based on historical
  410. service time).
  411. If unsure, say N.
  412. config DM_MULTIPATH_IOA
  413. tristate "I/O Path Selector based on CPU submission"
  414. depends on DM_MULTIPATH
  415. help
  416. This path selector selects the path based on the CPU the IO is
  417. executed on and the CPU to path mapping setup at path addition time.
  418. If unsure, say N.
  419. config DM_DELAY
  420. tristate "I/O delaying target"
  421. depends on BLK_DEV_DM
  422. help
  423. A target that delays reads and/or writes and can send
  424. them to different devices. Useful for testing.
  425. If unsure, say N.
  426. config DM_DUST
  427. tristate "Bad sector simulation target"
  428. depends on BLK_DEV_DM
  429. help
  430. A target that simulates bad sector behavior.
  431. Useful for testing.
  432. If unsure, say N.
  433. config DM_INIT
  434. bool "DM \"dm-mod.create=\" parameter support"
  435. depends on BLK_DEV_DM=y
  436. help
  437. Enable "dm-mod.create=" parameter to create mapped devices at init time.
  438. This option is useful to allow mounting rootfs without requiring an
  439. initramfs.
  440. See Documentation/admin-guide/device-mapper/dm-init.rst for dm-mod.create="..."
  441. format.
  442. If unsure, say N.
  443. config DM_VERITY_SIG_VALUE
  444. bool "DM \"root_hash_sig_key_value\" parameter support"
  445. depends on DM_INIT=y
  446. help
  447. Enable "root_hash_sig_key_value" parameter in "dm-mod.create=" to create
  448. mapped devices at init time. The option is used to directly pass root hash
  449. signature value from kernel command line. So root hash signature
  450. verification can be enabled without initramfs.
  451. config DM_UEVENT
  452. bool "DM uevents"
  453. depends on BLK_DEV_DM
  454. help
  455. Generate udev events for DM events.
  456. config DM_FLAKEY
  457. tristate "Flakey target"
  458. depends on BLK_DEV_DM
  459. help
  460. A target that intermittently fails I/O for debugging purposes.
  461. config DM_VERITY
  462. tristate "Verity target support"
  463. depends on BLK_DEV_DM
  464. select CRYPTO
  465. select CRYPTO_HASH
  466. select DM_BUFIO
  467. help
  468. This device-mapper target creates a read-only device that
  469. transparently validates the data on one underlying device against
  470. a pre-generated tree of cryptographic checksums stored on a second
  471. device.
  472. You'll need to activate the digests you're going to use in the
  473. cryptoapi configuration.
  474. To compile this code as a module, choose M here: the module will
  475. be called dm-verity.
  476. If unsure, say N.
  477. config DM_VERITY_VERIFY_ROOTHASH_SIG
  478. def_bool n
  479. bool "Verity data device root hash signature verification support"
  480. depends on DM_VERITY
  481. select SYSTEM_DATA_VERIFICATION
  482. help
  483. Add ability for dm-verity device to be validated if the
  484. pre-generated tree of cryptographic checksums passed has a pkcs#7
  485. signature file that can validate the roothash of the tree.
  486. By default, rely on the builtin trusted keyring.
  487. If unsure, say N.
  488. config DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING
  489. bool "Verity data device root hash signature verification with secondary keyring"
  490. depends on DM_VERITY_VERIFY_ROOTHASH_SIG
  491. depends on SECONDARY_TRUSTED_KEYRING
  492. help
  493. Rely on the secondary trusted keyring to verify dm-verity signatures.
  494. If unsure, say N.
  495. config DM_VERITY_FEC
  496. bool "Verity forward error correction support"
  497. depends on DM_VERITY
  498. select REED_SOLOMON
  499. select REED_SOLOMON_DEC8
  500. help
  501. Add forward error correction support to dm-verity. This option
  502. makes it possible to use pre-generated error correction data to
  503. recover from corrupted blocks.
  504. If unsure, say N.
  505. config DM_SWITCH
  506. tristate "Switch target support (EXPERIMENTAL)"
  507. depends on BLK_DEV_DM
  508. help
  509. This device-mapper target creates a device that supports an arbitrary
  510. mapping of fixed-size regions of I/O across a fixed set of paths.
  511. The path used for any specific region can be switched dynamically
  512. by sending the target a message.
  513. To compile this code as a module, choose M here: the module will
  514. be called dm-switch.
  515. If unsure, say N.
  516. config DM_LOG_WRITES
  517. tristate "Log writes target support"
  518. depends on BLK_DEV_DM
  519. help
  520. This device-mapper target takes two devices, one device to use
  521. normally, one to log all write operations done to the first device.
  522. This is for use by file system developers wishing to verify that
  523. their fs is writing a consistent file system at all times by allowing
  524. them to replay the log in a variety of ways and to check the
  525. contents.
  526. To compile this code as a module, choose M here: the module will
  527. be called dm-log-writes.
  528. If unsure, say N.
  529. config DM_INTEGRITY
  530. tristate "Integrity target support"
  531. depends on BLK_DEV_DM
  532. select BLK_DEV_INTEGRITY
  533. select DM_BUFIO
  534. select CRYPTO
  535. select CRYPTO_SKCIPHER
  536. select ASYNC_XOR
  537. select DM_AUDIT if AUDIT
  538. help
  539. This device-mapper target emulates a block device that has
  540. additional per-sector tags that can be used for storing
  541. integrity information.
  542. This integrity target is used with the dm-crypt target to
  543. provide authenticated disk encryption or it can be used
  544. standalone.
  545. To compile this code as a module, choose M here: the module will
  546. be called dm-integrity.
  547. config DM_ZONED
  548. tristate "Drive-managed zoned block device target support"
  549. depends on BLK_DEV_DM
  550. depends on BLK_DEV_ZONED
  551. select CRC32
  552. help
  553. This device-mapper target takes a host-managed or host-aware zoned
  554. block device and exposes most of its capacity as a regular block
  555. device (drive-managed zoned block device) without any write
  556. constraints. This is mainly intended for use with file systems that
  557. do not natively support zoned block devices but still want to
  558. benefit from the increased capacity offered by SMR disks. Other uses
  559. by applications using raw block devices (for example object stores)
  560. are also possible.
  561. To compile this code as a module, choose M here: the module will
  562. be called dm-zoned.
  563. If unsure, say N.
  564. config DM_BOW
  565. tristate "Backup block device"
  566. depends on BLK_DEV_DM
  567. select DM_BUFIO
  568. help
  569. This device-mapper target takes a device and keeps a log of all
  570. changes using free blocks identified by issuing a trim command.
  571. This can then be restored by running a command line utility,
  572. or committed by simply replacing the target.
  573. If unsure, say N.
  574. config DM_AUDIT
  575. bool "DM audit events"
  576. depends on AUDIT
  577. help
  578. Generate audit events for device-mapper.
  579. Enables audit logging of several security relevant events in the
  580. particular device-mapper targets, especially the integrity target.
  581. config DM_USER
  582. tristate "Block device in userspace"
  583. depends on BLK_DEV_DM
  584. default y
  585. help
  586. This device-mapper target allows a userspace daemon to provide the
  587. contents of a block device. See
  588. <file:Documentation/block/dm-user.rst> for more information.
  589. To compile this code as a module, choose M here: the module will be
  590. called dm-user.
  591. If unsure, say N.
  592. endif # MD