]> git.baikalelectronics.ru Git - kernel.git/commit
dm: add unstriped target
authorScott Bauer <scott.bauer@intel.com>
Mon, 18 Dec 2017 17:28:08 +0000 (10:28 -0700)
committerMike Snitzer <snitzer@redhat.com>
Wed, 17 Jan 2018 14:16:00 +0000 (09:16 -0500)
commit75f1200aedc170a2eda68a1f2f956d81a891d508
treeaa51f1a4919a683130007c0189e0b0a29fccd302
parentf73e24857df70993b9dac9069983d693a2856d63
dm: add unstriped target

This device mapper "unstriped" target remaps and unstripes I/O so it
is issued solely on a single drive in a HW RAID0 or dm-striped target.

In a 4 drive HW RAID0 the striped target exposes 1/4th of the LBA range
as a virtual drive.  Each I/O to that virtual drive will only be issued
to the 1 drive that was selected of the 4 drives in the HW RAID0.

This unstriped target is most useful for Intel NVMe drives that have
multiple cores but that do not have firmware control to pin separate LBA
ranges to each discrete cpu core.

Signed-off-by: Scott Bauer <scott.bauer@intel.com>
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Documentation/device-mapper/unstriped.txt [new file with mode: 0644]
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-unstripe.c [new file with mode: 0644]