aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-01-31 12:05:42 -0500
committerMike Snitzer <snitzer@redhat.com>2016-02-22 22:34:37 -0500
commit591ddcfc4bfad28e096787b1159942124d49cd1e (patch)
tree985975cb6a1bc173243d938ae283df37d18e959c /drivers/md/dm.h
parentdm: rename target's per_bio_data_size to per_io_data_size (diff)
downloadlinux-dev-591ddcfc4bfad28e096787b1159942124d49cd1e.tar.xz
linux-dev-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.h')
-rw-r--r--drivers/md/dm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index 4305a513c801..13a758ec0f88 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -86,7 +86,7 @@ void dm_set_md_type(struct mapped_device *md, unsigned type);
unsigned dm_get_md_type(struct mapped_device *md);
struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
-int dm_setup_md_queue(struct mapped_device *md);
+int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t);
/*
* To check the return value from dm_table_find_target().