dm: introduce DM_TYPE_NVME_BIO_BASED
authorMike Snitzer <snitzer@redhat.com>
Tue, 5 Dec 2017 02:07:37 +0000 (21:07 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 20 Dec 2017 15:51:10 +0000 (10:51 -0500)
commit22c11858e8002592c59ebb762e4e42dc634bf84f
tree63b1f14112ef5fe3dcab55747e3754370da07fec
parentf3986374f94951b0fec6980e5b2dd621c51b215c
dm: introduce DM_TYPE_NVME_BIO_BASED

If dm_table_determine_type() establishes DM_TYPE_NVME_BIO_BASED then
all devices in the DM table do not support partial completions.  Also,
the table has a single immutable target that doesn't require DM core to
split bios.

This will enable adding NVMe optimizations to bio-based DM.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-table.c
drivers/md/dm.c
include/linux/device-mapper.h