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) | |
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 { | |||
| 28 | DM_TYPE_REQUEST_BASED = 2, | 28 | DM_TYPE_REQUEST_BASED = 2, |
| 29 | DM_TYPE_MQ_REQUEST_BASED = 3, | 29 | DM_TYPE_MQ_REQUEST_BASED = 3, |
| 30 | DM_TYPE_DAX_BIO_BASED = 4, | 30 | DM_TYPE_DAX_BIO_BASED = 4, |
| 31 | DM_TYPE_NVME_BIO_BASED = 5, | ||
| 31 | }; | 32 | }; |
| 32 | 33 | ||
| 33 | typedef enum { STATUSTYPE_INFO, STATUSTYPE_TABLE } status_type_t; | 34 | typedef enum { STATUSTYPE_INFO, STATUSTYPE_TABLE } status_type_t; |
