Mike Snitzer
eaa160eded
dm table: fix NVMe bio-based dm_table_determine_type() validation
...
The 'verify_rq_based:' code in dm_table_determine_type() was checking
all devices in the DM table rather than only checking the data devices.
Fix this by using the immutable target's iterate_devices method.
Also, tweak the block of dm_table_determine_type() code that decides
whether to upgrade from DM_TYPE_BIO_BASED to DM_TYPE_NVME_BIO_BASED so
that it makes sure the immutable_target doesn't support require
splitting IOs.
These changes have been verified to allow a "thin-pool" target whose
data device is an NVMe device to be upgraded to DM_TYPE_NVME_BIO_BASED.
Using the thin-pool in NVMe bio-based mode was verified to pass all the
device-mapper-test-suite's "thin-provisioning" tests.
Also verified that request-based DM multipath (with queue_mode "rq" and
"mq") works as expected using the 'mptest' harness.
Fixes: 22c11858e ("dm: introduce DM_TYPE_NVME_BIO_BASED")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2018-01-29 13:44:56 -05:00
..
2017-11-24 16:23:01 -07:00
2017-11-14 15:50:56 -08:00
2017-06-19 11:03:50 -04:00
2017-06-09 09:27:32 -06:00
2017-06-19 11:03:50 -04:00
2017-03-07 11:30:16 -05:00
2017-08-23 12:49:55 -06:00
2018-01-17 09:16:04 -05:00
2017-08-28 11:47:17 -04:00
2017-11-02 11:10:55 +01:00
2017-11-10 15:45:03 -05:00
2017-03-07 13:28:31 -05:00
2016-12-16 00:13:41 +02:00
2017-10-24 15:09:51 -04:00
2017-03-07 13:28:31 -05:00
2017-03-07 13:28:31 -05:00
2017-11-10 15:45:05 -05:00
2014-01-16 13:44:11 -05:00
2017-03-07 13:28:31 -05:00
2017-12-04 10:23:10 -05:00
2018-01-29 13:44:55 -05:00
2018-01-17 09:16:15 -05:00
2018-01-17 09:16:15 -05:00
2017-11-16 16:33:54 -05:00
2015-11-04 21:19:53 -08:00
2016-01-08 20:03:05 -05:00
2018-01-17 09:16:13 -05:00
2017-11-14 20:11:57 -07:00
2017-12-13 12:15:56 -05:00
2017-09-25 11:18:29 -04:00
2018-01-17 09:16:15 -05:00
2017-09-14 13:43:16 -07:00
2015-10-31 19:06:00 -04:00
2015-04-15 12:10:20 -04:00
2018-01-17 09:16:16 -05:00
2016-11-01 09:43:26 -06:00
2018-01-29 13:44:54 -05:00
2011-10-31 19:31:18 -04:00
2016-02-22 22:34:42 -05:00
2016-02-22 22:34:42 -05:00
2017-11-14 20:11:57 -07:00
2018-01-17 09:16:05 -05:00
2016-08-07 14:41:02 -06:00
2017-02-17 00:54:09 -05:00
2018-01-29 13:44:55 -05:00
2017-08-28 10:23:28 -04:00
2016-02-22 22:34:42 -05:00
2017-05-31 10:50:23 -04:00
2016-01-08 20:03:05 -05:00
2018-01-17 09:16:14 -05:00
2018-01-17 09:16:15 -05:00
2017-11-02 11:10:55 +01:00
2017-09-14 13:43:16 -07:00
2017-10-25 11:01:08 +02:00
2016-06-10 15:15:44 -04:00
2018-01-29 13:44:56 -05:00
2017-06-09 09:27:32 -06:00
2017-05-15 15:09:49 -04:00
2016-07-20 12:43:35 -04:00
2018-01-17 09:16:15 -05:00
2011-10-31 19:31:19 -04:00
2018-01-17 09:16:00 -05:00
2017-07-26 15:55:44 -04:00
2017-03-16 09:37:31 -04:00
2017-11-14 10:52:09 -08:00
2017-11-03 22:11:20 +08:00
2017-06-09 09:27:32 -06:00
2018-01-17 09:16:15 -05:00
2017-07-26 15:55:43 -04:00
2018-01-17 09:16:15 -05:00
2017-06-19 11:05:20 -04:00
2018-01-29 13:44:55 -05:00
2018-01-17 09:16:06 -05:00
2018-01-17 09:16:00 -05:00
2018-01-17 09:16:00 -05:00
2017-11-14 16:07:26 -08:00
2017-11-14 16:07:26 -08:00
2017-11-01 21:32:25 -07:00
2017-11-02 11:10:55 +01:00
2017-10-16 19:06:36 -07:00
2017-10-16 19:06:36 -07:00
2017-11-14 16:07:26 -08:00
2017-11-01 21:32:24 -07:00
2017-11-14 16:07:26 -08:00
2017-11-17 10:56:56 -08:00
2017-11-01 21:32:22 -07:00
2017-11-01 21:32:20 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-01 21:32:24 -07:00
2017-11-02 11:10:55 +01:00
2017-11-01 21:32:22 -07:00
2017-11-14 16:07:26 -08:00
2017-10-16 19:06:34 -07:00
2017-11-14 16:07:26 -08:00
2017-11-02 11:10:55 +01:00
2017-11-01 21:32:23 -07:00
2017-11-14 16:07:26 -08:00