]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit833d9da1b2fd8a28d9241f294760152d4fe21cc4
tree63b1f14112ef5fe3dcab55747e3754370da07fec
parent1d18f94ddbfd5a87986ad8922b747c8c94f1f6df
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