summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-12-07 08:41:17 -0700
committerJens Axboe <axboe@fb.com>2016-12-09 09:03:02 -0700
commitf04c3df3efeca0d226aeff7ef595e12a0b807ab2 (patch)
tree6f57ec6196eaeade6a93c181c6654d49283ca8a9 /block/blk-mq.h
parentae911c5e796d51cb2d1ed3a55e73b9cc88d176cf (diff)
downloadlinux-0-day-f04c3df3efeca0d226aeff7ef595e12a0b807ab2.tar.gz
linux-0-day-f04c3df3efeca0d226aeff7ef595e12a0b807ab2.tar.xz
blk-mq: abstract out blk_mq_dispatch_rq_list() helper
Takes a list of requests, and dispatches it. Moves any residual requests to the dispatch list. Signed-off-by: Jens Axboe <axboe@fb.com> Reviewed-by: Hannes Reinecke <hare@suse.com>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r--block/blk-mq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h
index b444370ae05ba..3a54dd32a6fc3 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -31,6 +31,7 @@ void blk_mq_freeze_queue(struct request_queue *q);
void blk_mq_free_queue(struct request_queue *q);
int blk_mq_update_nr_requests(struct request_queue *q, unsigned int nr);
void blk_mq_wake_waiters(struct request_queue *q);
+bool blk_mq_dispatch_rq_list(struct blk_mq_hw_ctx *, struct list_head *);
/*
* CPU hotplug helpers