Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  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. help
  9. Support multiple physical spindles through a single logical device.
  10. Required for RAID and logical volume management.
  11. if MD
  12. config BLK_DEV_MD
  13. tristate "RAID support"
  14. select BLOCK_HOLDER_DEPRECATED if SYSFS
  15. select BUFFER_HEAD
  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_BITMAP
  35. bool "MD RAID bitmap support"
  36. default y
  37. depends on BLK_DEV_MD
  38. help
  39. If you say Y here, support for the write intent bitmap will be
  40. enabled. The bitmap can be used to optimize resync speed after power
  41. failure or readding a disk, limiting it to recorded dirty sectors in
  42. bitmap.
  43. This feature can be added to existing MD array or MD array can be
  44. created with bitmap via mdadm(8).
  45. If unsure, say Y.
  46. config MD_LLBITMAP
  47. bool "MD RAID lockless bitmap support"
  48. depends on BLK_DEV_MD
  49. help
  50. If you say Y here, support for the lockless write intent bitmap will
  51. be enabled.
  52. Note, this is an experimental feature.
  53. If unsure, say N.
  54. config MD_AUTODETECT
  55. bool "Autodetect RAID arrays during kernel boot"
  56. depends on BLK_DEV_MD=y
  57. default y
  58. help
  59. If you say Y here, then the kernel will try to autodetect raid
  60. arrays as part of its boot process.
  61. If you don't use raid and say Y, this autodetection can cause
  62. a several-second delay in the boot time due to various
  63. synchronisation steps that are part of this step.
  64. If unsure, say Y.
  65. config MD_BITMAP_FILE
  66. bool "MD bitmap file support (deprecated)"
  67. default y
  68. depends on MD_BITMAP
  69. help
  70. If you say Y here, support for write intent bitmaps in files on an
  71. external file system is enabled. This is an alternative to the internal
  72. bitmaps near the MD superblock, and very problematic code that abuses
  73. various kernel APIs and can only work with files on a file system not
  74. actually sitting on the MD device.
  75. config MD_LINEAR
  76. tristate "Linear (append) mode"
  77. depends on BLK_DEV_MD
  78. help
  79. If you say Y here, then your multiple devices driver will be able to
  80. use the so-called linear mode, i.e. it will combine the hard disk
  81. partitions by simply appending one to the other.
  82. To compile this as a module, choose M here: the module
  83. will be called linear.
  84. If unsure, say Y.
  85. config MD_RAID0
  86. tristate "RAID-0 (striping) mode"
  87. depends on BLK_DEV_MD
  88. help
  89. If you say Y here, then your multiple devices driver will be able to
  90. use the so-called raid0 mode, i.e. it will combine the hard disk
  91. partitions into one logical device in such a fashion as to fill them
  92. up evenly, one chunk here and one chunk there. This will increase
  93. the throughput rate if the partitions reside on distinct disks.
  94. Information about Software RAID on Linux is contained in the
  95. Software-RAID mini-HOWTO, available from
  96. <https://www.tldp.org/docs.html#howto>. There you will also
  97. learn where to get the supporting user space utilities raidtools.
  98. To compile this as a module, choose M here: the module
  99. will be called raid0.
  100. If unsure, say Y.
  101. config MD_RAID1
  102. tristate "RAID-1 (mirroring) mode"
  103. depends on BLK_DEV_MD
  104. help
  105. A RAID-1 set consists of several disk drives which are exact copies
  106. of each other. In the event of a mirror failure, the RAID driver
  107. will continue to use the operational mirrors in the set, providing
  108. an error free MD (multiple device) to the higher levels of the
  109. kernel. In a set with N drives, the available space is the capacity
  110. of a single drive, and the set protects against a failure of (N - 1)
  111. drives.
  112. Information about Software RAID on Linux is contained in the
  113. Software-RAID mini-HOWTO, available from
  114. <https://www.tldp.org/docs.html#howto>. There you will also
  115. learn where to get the supporting user space utilities raidtools.
  116. If you want to use such a RAID-1 set, say Y. To compile this code
  117. as a module, choose M here: the module will be called raid1.
  118. If unsure, say Y.
  119. config MD_RAID10
  120. tristate "RAID-10 (mirrored striping) mode"
  121. depends on BLK_DEV_MD
  122. help
  123. RAID-10 provides a combination of striping (RAID-0) and
  124. mirroring (RAID-1) with easier configuration and more flexible
  125. layout.
  126. Unlike RAID-0, but like RAID-1, RAID-10 requires all devices to
  127. be the same size (or at least, only as much as the smallest device
  128. will be used).
  129. RAID-10 provides a variety of layouts that provide different levels
  130. of redundancy and performance.
  131. RAID-10 requires mdadm-1.7.0 or later, available at:
  132. https://www.kernel.org/pub/linux/utils/raid/mdadm/
  133. If unsure, say Y.
  134. config MD_RAID456
  135. tristate "RAID-4/RAID-5/RAID-6 mode"
  136. depends on BLK_DEV_MD
  137. select RAID6_PQ
  138. select CRC32
  139. select ASYNC_MEMCPY
  140. select ASYNC_XOR
  141. select ASYNC_PQ
  142. select ASYNC_RAID6_RECOV
  143. help
  144. A RAID-5 set of N drives with a capacity of C MB per drive provides
  145. the capacity of C * (N - 1) MB, and protects against a failure
  146. of a single drive. For a given sector (row) number, (N - 1) drives
  147. contain data sectors, and one drive contains the parity protection.
  148. For a RAID-4 set, the parity blocks are present on a single drive,
  149. while a RAID-5 set distributes the parity across the drives in one
  150. of the available parity distribution methods.
  151. A RAID-6 set of N drives with a capacity of C MB per drive
  152. provides the capacity of C * (N - 2) MB, and protects
  153. against a failure of any two drives. For a given sector
  154. (row) number, (N - 2) drives contain data sectors, and two
  155. drives contains two independent redundancy syndromes. Like
  156. RAID-5, RAID-6 distributes the syndromes across the drives
  157. in one of the available parity distribution methods.
  158. Information about Software RAID on Linux is contained in the
  159. Software-RAID mini-HOWTO, available from
  160. <https://www.tldp.org/docs.html#howto>. There you will also
  161. learn where to get the supporting user space utilities raidtools.
  162. If you want to use such a RAID-4/RAID-5/RAID-6 set, say Y. To
  163. compile this code as a module, choose M here: the module
  164. will be called raid456.
  165. If unsure, say Y.
  166. config MD_CLUSTER
  167. tristate "Cluster Support for MD"
  168. select MD_BITMAP
  169. depends on BLK_DEV_MD
  170. depends on DLM
  171. default n
  172. help
  173. Clustering support for MD devices. This enables locking and
  174. synchronization across multiple systems on the cluster, so all
  175. nodes in the cluster can access the MD devices simultaneously.
  176. This brings the redundancy (and uptime) of RAID levels across the
  177. nodes of the cluster. Currently, it can work with raid1 and raid10
  178. (limited support).
  179. If unsure, say N.
  180. source "drivers/md/bcache/Kconfig"
  181. config BLK_DEV_DM_BUILTIN
  182. bool
  183. config BLK_DEV_DM
  184. tristate "Device mapper support"
  185. select BLOCK_HOLDER_DEPRECATED if SYSFS
  186. select BLK_DEV_DM_BUILTIN
  187. select BLK_MQ_STACKING
  188. depends on DAX || DAX=n
  189. help
  190. Device-mapper is a low level volume manager. It works by allowing
  191. people to specify mappings for ranges of logical sectors. Various
  192. mapping types are available, in addition people may write their own
  193. modules containing custom mappings if they wish.
  194. Higher level volume managers such as LVM2 use this driver.
  195. To compile this as a module, choose M here: the module will be
  196. called dm-mod.
  197. If unsure, say N.
  198. config DM_DEBUG
  199. bool "Device mapper debugging support"
  200. depends on BLK_DEV_DM
  201. help
  202. Enable this for messages that may help debug device-mapper problems.
  203. If unsure, say N.
  204. config DM_BUFIO
  205. tristate
  206. depends on BLK_DEV_DM
  207. help
  208. This interface allows you to do buffered I/O on a device and acts
  209. as a cache, holding recently-read blocks in memory and performing
  210. delayed writes.
  211. config DM_DEBUG_BLOCK_MANAGER_LOCKING
  212. bool "Block manager locking"
  213. depends on DM_BUFIO
  214. help
  215. Block manager locking can catch various metadata corruption issues.
  216. If unsure, say N.
  217. config DM_DEBUG_BLOCK_STACK_TRACING
  218. bool "Keep stack trace of persistent data block lock holders"
  219. depends on STACKTRACE_SUPPORT && DM_DEBUG_BLOCK_MANAGER_LOCKING
  220. select STACKTRACE
  221. help
  222. Enable this for messages that may help debug problems with the
  223. block manager locking used by thin provisioning and caching.
  224. If unsure, say N.
  225. config DM_BIO_PRISON
  226. tristate
  227. depends on BLK_DEV_DM
  228. help
  229. Some bio locking schemes used by other device-mapper targets
  230. including thin provisioning.
  231. source "drivers/md/persistent-data/Kconfig"
  232. config DM_UNSTRIPED
  233. tristate "Unstriped target"
  234. depends on BLK_DEV_DM
  235. help
  236. Unstripes I/O so it is issued solely on a single drive in a HW
  237. RAID0 or dm-striped target.
  238. config DM_CRYPT
  239. tristate "Crypt target support"
  240. depends on BLK_DEV_DM
  241. depends on (ENCRYPTED_KEYS || ENCRYPTED_KEYS=n)
  242. depends on (TRUSTED_KEYS || TRUSTED_KEYS=n)
  243. select CRC32
  244. select CRYPTO
  245. select CRYPTO_CBC
  246. select CRYPTO_ESSIV
  247. select CRYPTO_LIB_MD5 # needed by lmk IV mode
  248. help
  249. This device-mapper target allows you to create a device that
  250. transparently encrypts the data on it. You'll need to activate
  251. the ciphers you're going to use in the cryptoapi configuration.
  252. For further information on dm-crypt and userspace tools see:
  253. <https://gitlab.com/cryptsetup/cryptsetup/wikis/DMCrypt>
  254. To compile this code as a module, choose M here: the module will
  255. be called dm-crypt.
  256. If unsure, say N.
  257. config DM_SNAPSHOT
  258. tristate "Snapshot target"
  259. depends on BLK_DEV_DM
  260. select DM_BUFIO
  261. help
  262. Allow volume managers to take writable snapshots of a device.
  263. config DM_THIN_PROVISIONING
  264. tristate "Thin provisioning target"
  265. depends on BLK_DEV_DM
  266. select DM_PERSISTENT_DATA
  267. select DM_BIO_PRISON
  268. help
  269. Provides thin provisioning and snapshots that share a data store.
  270. config DM_CACHE
  271. tristate "Cache target (EXPERIMENTAL)"
  272. depends on BLK_DEV_DM
  273. default n
  274. select DM_PERSISTENT_DATA
  275. select DM_BIO_PRISON
  276. help
  277. dm-cache attempts to improve performance of a block device by
  278. moving frequently used data to a smaller, higher performance
  279. device. Different 'policy' plugins can be used to change the
  280. algorithms used to select which blocks are promoted, demoted,
  281. cleaned etc. It supports writeback and writethrough modes.
  282. config DM_CACHE_SMQ
  283. tristate "Stochastic MQ Cache Policy (EXPERIMENTAL)"
  284. depends on DM_CACHE
  285. default y
  286. help
  287. A cache policy that uses a multiqueue ordered by recent hits
  288. to select which blocks should be promoted and demoted.
  289. This is meant to be a general purpose policy. It prioritises
  290. reads over writes. This SMQ policy (vs MQ) offers the promise
  291. of less memory utilization, improved performance and increased
  292. adaptability in the face of changing workloads.
  293. config DM_WRITECACHE
  294. tristate "Writecache target"
  295. depends on BLK_DEV_DM
  296. help
  297. The writecache target caches writes on persistent memory or SSD.
  298. It is intended for databases or other programs that need extremely
  299. low commit latency.
  300. The writecache target doesn't cache reads because reads are supposed
  301. to be cached in standard RAM.
  302. config DM_EBS
  303. tristate "Emulated block size target (EXPERIMENTAL)"
  304. depends on BLK_DEV_DM && !HIGHMEM
  305. select DM_BUFIO
  306. help
  307. dm-ebs emulates smaller logical block size on backing devices
  308. with larger ones (e.g. 512 byte sectors on 4K native disks).
  309. config DM_ERA
  310. tristate "Era target (EXPERIMENTAL)"
  311. depends on BLK_DEV_DM
  312. default n
  313. select DM_PERSISTENT_DATA
  314. select DM_BIO_PRISON
  315. help
  316. dm-era tracks which parts of a block device are written to
  317. over time. Useful for maintaining cache coherency when using
  318. vendor snapshots.
  319. config DM_CLONE
  320. tristate "Clone target (EXPERIMENTAL)"
  321. depends on BLK_DEV_DM
  322. default n
  323. select DM_PERSISTENT_DATA
  324. help
  325. dm-clone produces a one-to-one copy of an existing, read-only source
  326. device into a writable destination device. The cloned device is
  327. visible/mountable immediately and the copy of the source device to the
  328. destination device happens in the background, in parallel with user
  329. I/O.
  330. If unsure, say N.
  331. config DM_MIRROR
  332. tristate "Mirror target"
  333. depends on BLK_DEV_DM
  334. help
  335. Allow volume managers to mirror logical volumes, also
  336. needed for live data migration tools such as 'pvmove'.
  337. config DM_LOG_USERSPACE
  338. tristate "Mirror userspace logging"
  339. depends on DM_MIRROR && NET
  340. select CONNECTOR
  341. help
  342. The userspace logging module provides a mechanism for
  343. relaying the dm-dirty-log API to userspace. Log designs
  344. which are more suited to userspace implementation (e.g.
  345. shared storage logs) or experimental logs can be implemented
  346. by leveraging this framework.
  347. config DM_RAID
  348. tristate "RAID 1/4/5/6/10 target"
  349. depends on BLK_DEV_DM
  350. select MD_RAID0
  351. select MD_RAID1
  352. select MD_RAID10
  353. select MD_RAID456
  354. select MD_BITMAP
  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_UEVENT
  444. bool "DM uevents"
  445. depends on BLK_DEV_DM
  446. help
  447. Generate udev events for DM events.
  448. config DM_FLAKEY
  449. tristate "Flakey target"
  450. depends on BLK_DEV_DM
  451. help
  452. A target that intermittently fails I/O for debugging purposes.
  453. config DM_VERITY
  454. tristate "Verity target support"
  455. depends on BLK_DEV_DM
  456. select CRYPTO
  457. select CRYPTO_HASH
  458. select CRYPTO_LIB_SHA256
  459. select DM_BUFIO
  460. select REED_SOLOMON if DM_VERITY_FEC
  461. select REED_SOLOMON_DEC8 if DM_VERITY_FEC
  462. help
  463. This device-mapper target creates a read-only device that
  464. transparently validates the data on one underlying device against
  465. a pre-generated tree of cryptographic checksums stored on a second
  466. device.
  467. You'll need to activate the digests you're going to use in the
  468. cryptoapi configuration.
  469. To compile this code as a module, choose M here: the module will
  470. be called dm-verity.
  471. If unsure, say N.
  472. config DM_VERITY_VERIFY_ROOTHASH_SIG
  473. bool "Verity data device root hash signature verification support"
  474. depends on DM_VERITY
  475. select SYSTEM_DATA_VERIFICATION
  476. help
  477. Add ability for dm-verity device to be validated if the
  478. pre-generated tree of cryptographic checksums passed has a pkcs#7
  479. signature file that can validate the roothash of the tree.
  480. By default, rely on the builtin trusted keyring.
  481. If unsure, say N.
  482. config DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING
  483. bool "Verity data device root hash signature verification with secondary keyring"
  484. depends on DM_VERITY_VERIFY_ROOTHASH_SIG
  485. depends on SECONDARY_TRUSTED_KEYRING
  486. help
  487. Rely on the secondary trusted keyring to verify dm-verity signatures.
  488. If unsure, say N.
  489. config DM_VERITY_VERIFY_ROOTHASH_SIG_PLATFORM_KEYRING
  490. bool "Verity data device root hash signature verification with platform keyring"
  491. default DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING
  492. depends on DM_VERITY_VERIFY_ROOTHASH_SIG
  493. depends on INTEGRITY_PLATFORM_KEYRING
  494. help
  495. Rely also on the platform keyring to verify dm-verity signatures.
  496. If unsure, say N.
  497. config DM_VERITY_FEC
  498. bool "Verity forward error correction support"
  499. depends on DM_VERITY
  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_AUDIT
  565. bool "DM audit events"
  566. depends on BLK_DEV_DM
  567. depends on AUDIT
  568. help
  569. Generate audit events for device-mapper.
  570. Enables audit logging of several security relevant events in the
  571. particular device-mapper targets, especially the integrity target.
  572. source "drivers/md/dm-vdo/Kconfig"
  573. source "drivers/md/dm-pcache/Kconfig"
  574. endif # MD