diff options
author | Mike Snitzer <snitzer@redhat.com> | 2017-12-04 21:07:37 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-12-20 10:51:10 -0500 |
commit | 22c11858e8002592c59ebb762e4e42dc634bf84f (patch) | |
tree | 63b1f14112ef5fe3dcab55747e3754370da07fec /include/linux/device-mapper.h | |
parent | f3986374f94951b0fec6980e5b2dd621c51b215c (diff) | |
download | linux-stable-22c11858e8002592c59ebb762e4e42dc634bf84f.tar.gz linux-stable-22c11858e8002592c59ebb762e4e42dc634bf84f.tar.bz2 linux-stable-22c11858e8002592c59ebb762e4e42dc634bf84f.zip |
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>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r-- | include/linux/device-mapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 0e518d2ee280..41ec228b02a6 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h @@ -28,6 +28,7 @@ enum dm_queue_mode { DM_TYPE_REQUEST_BASED = 2, DM_TYPE_MQ_REQUEST_BASED = 3, DM_TYPE_DAX_BIO_BASED = 4, + DM_TYPE_NVME_BIO_BASED = 5, }; typedef enum { STATUSTYPE_INFO, STATUSTYPE_TABLE } status_type_t; |