]> git.baikalelectronics.ru Git - kernel.git/commit
dm: add emulated block size target
authorHeinz Mauelshagen <heinzm@redhat.com>
Mon, 9 Mar 2020 22:26:38 +0000 (23:26 +0100)
committerMike Snitzer <snitzer@redhat.com>
Fri, 15 May 2020 14:29:35 +0000 (10:29 -0400)
commit223cede1e5ac76bee9f82ed6bd35e3379d32ebfe
tree5a03d63bbf92aa6c5296163edd4612177397ba96
parente05cc5bc9ff0db3f312ab9c5c3b2b850c5c40701
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>
Documentation/admin-guide/device-mapper/dm-ebs.rst [new file with mode: 0644]
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-ebs-target.c [new file with mode: 0644]