summaryrefslogtreecommitdiffstats
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorMatthew Sakai <msakai@redhat.com>2023-11-17 03:28:35 +0100
committerMike Snitzer <snitzer@kernel.org>2024-02-20 19:43:16 +0100
commitf11aca85b0346fe7d04eca6eb8db2011398782e7 (patch)
tree44bbedf2224c1f695e85cd77e9772decf1c9b165 /drivers/md/Kconfig
parentdm vdo: add the top-level DM target (diff)
downloadlinux-f11aca85b0346fe7d04eca6eb8db2011398782e7.tar.xz
linux-f11aca85b0346fe7d04eca6eb8db2011398782e7.zip
dm vdo: enable configuration and building of dm-vdo
dm-vdo targets are not supported for 32-bit configurations. A vdo target typically requires 1 to 1.5 GB of memory at any given time, which is likely a large fraction of the addressable memory of a 32-bit system. At the same time, the amount of addressable storage attached to a 32-bit system may not be large enough for deduplication to provide much benefit. Because of these concerns, 32-bit platforms are deemed unlikely to benefit from using a vdo target, so dm-vdo is targeted only at 64-bit platforms. Co-developed-by: J. corwin Coburn <corwin@hurlbutnet.net> Signed-off-by: J. corwin Coburn <corwin@hurlbutnet.net> Co-developed-by: John Wiele <jwiele@redhat.com> Signed-off-by: John Wiele <jwiele@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r--drivers/md/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index a743e2c572fc..cef25cf4800c 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -498,6 +498,22 @@ config DM_FLAKEY
help
A target that intermittently fails I/O for debugging purposes.
+config DM_VDO
+ tristate "VDO: deduplication and compression target"
+ depends on 64BIT
+ depends on BLK_DEV_DM
+ select DM_BUFIO
+ select LZ4_COMPRESS
+ select LZ4_DECOMPRESS
+ help
+ This device mapper target presents a block device with
+ deduplication, compression and thin-provisioning.
+
+ To compile this code as a module, choose M here: the module will
+ be called dm-vdo.
+
+ If unsure, say N.
+
config DM_VERITY
tristate "Verity target support"
depends on BLK_DEV_DM