diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-01-31 18:05:42 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-02-23 04:34:37 +0100 |
commit | 591ddcfc4bfad28e096787b1159942124d49cd1e (patch) | |
tree | 985975cb6a1bc173243d938ae283df37d18e959c /drivers/md/dm-ioctl.c | |
parent | dm: rename target's per_bio_data_size to per_io_data_size (diff) | |
download | linux-591ddcfc4bfad28e096787b1159942124d49cd1e.tar.xz linux-591ddcfc4bfad28e096787b1159942124d49cd1e.zip |
dm: allow immutable request-based targets to use blk-mq pdu
This will allow DM multipath to use a portion of the blk-mq pdu space
for target data (e.g. struct dm_mpath_io).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-ioctl.c')
-rw-r--r-- | drivers/md/dm-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 4763c4ae30e4..2adf81d81fca 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -1304,7 +1304,7 @@ static int table_load(struct dm_ioctl *param, size_t param_size) dm_set_md_type(md, dm_table_get_type(t)); /* setup md->queue to reflect md's type (may block) */ - r = dm_setup_md_queue(md); + r = dm_setup_md_queue(md, t); if (r) { DMWARN("unable to set up device queue for new table."); goto err_unlock_md_type; |