summaryrefslogtreecommitdiff
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2020-03-10 01:26:38 +0300
committerMike Snitzer <snitzer@redhat.com>2020-05-15 17:29:35 +0300
commitd3c7b35c20d60650bac8b55c17b194adda03a979 (patch)
tree5a03d63bbf92aa6c5296163edd4612177397ba96 /drivers/md/Kconfig
parent2361ae595352dec015d14292f1b539242d8446d6 (diff)
downloadlinux-d3c7b35c20d60650bac8b55c17b194adda03a979.tar.xz
dm: add emulated block size target
This new target is similar to the linear target except that it emulates a smaller logical block size on a device with a larger logical block size. Its main purpose is to emulate 512 byte sectors on 4K native disks (i.e. 512e). See Documentation/admin-guide/device-mapper/dm-ebs.rst for details. Reviewed-by: Damien Le Moal <DamienLeMoal@wdc.com> Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> [Kconfig fixes] Signed-off-by: Zheng Bin <zhengbin13@huawei.com> [static fixes] Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r--drivers/md/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 8b0c646d2f59..6cb6188a61df 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -337,6 +337,14 @@ config DM_WRITECACHE
The writecache target doesn't cache reads because reads are supposed
to be cached in standard RAM.
+config DM_EBS
+ tristate "Emulated block size target (EXPERIMENTAL)"
+ depends on BLK_DEV_DM
+ select DM_BUFIO
+ help
+ dm-ebs emulates smaller logical block size on backing devices
+ with larger ones (e.g. 512 byte sectors on 4K native disks).
+
config DM_ERA
tristate "Era target (EXPERIMENTAL)"
depends on BLK_DEV_DM