summaryrefslogtreecommitdiff
path: root/drivers/md/dm-rq.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-09-14 10:36:39 -0400
committerMike Snitzer <snitzer@redhat.com>2016-09-15 11:16:05 -0400
commite0c107526960d1348cfe21f12bcfb3348fd7e8ab (patch)
tree57a16a3df06950f2f672a920d46cd430fd835f2a /drivers/md/dm-rq.h
parentfbc39b4ca3bed38c6d62c658af2157d2ec9efa03 (diff)
dm rq: introduce dm_mq_kick_requeue_list()
Make it possible for a request-based target to kick the DM device's blk-mq request_queue's requeue_list. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.com>
Diffstat (limited to 'drivers/md/dm-rq.h')
-rw-r--r--drivers/md/dm-rq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm-rq.h b/drivers/md/dm-rq.h
index 9e6f0a3773d4..4da06cae7bad 100644
--- a/drivers/md/dm-rq.h
+++ b/drivers/md/dm-rq.h
@@ -55,6 +55,8 @@ void dm_mq_cleanup_mapped_device(struct mapped_device *md);
void dm_start_queue(struct request_queue *q);
void dm_stop_queue(struct request_queue *q);
+void dm_mq_kick_requeue_list(struct mapped_device *md);
+
unsigned dm_get_reserved_rq_based_ios(void);
ssize_t dm_attr_rq_based_seq_io_merge_deadline_show(struct mapped_device *md, char *buf);