Skip to content
Snippets Groups Projects
Commit 65803c20 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm table: train hybrid target type detection to select blk-mq if appropriate


Otherwise replacing the multipath target with the error target fails:
  device-mapper: ioctl: can't change device type after initial table load.

The error target was mistakenly considered to be target type
DM_TYPE_REQUEST_BASED rather than DM_TYPE_MQ_REQUEST_BASED even if the
target it was to replace was of type DM_TYPE_MQ_REQUEST_BASED.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent e5863d9a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment