summaryrefslogtreecommitdiff
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-20 16:41:17 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-20 09:56:11 -0600
commitdbb6f764a079d1dea883c6f2439d91db4f0fb2f2 (patch)
treeac03345f889b6549d8c126b572aeeb84b46cfcc9 /block/blk-mq.h
parenta214b949d8e365583dd67441f6f608f0b20f7f52 (diff)
blk-mq: move blk_mq_flush_plug_list to block/blk-mq.h
This helper is internal to the block layer. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211020144119.142582-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
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 d8ccb341e82e..08fb5922e611 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -122,6 +122,7 @@ extern int blk_mq_sysfs_register(struct request_queue *q);
extern void blk_mq_sysfs_unregister(struct request_queue *q);
extern void blk_mq_hctx_kobj_init(struct blk_mq_hw_ctx *hctx);
void blk_mq_free_plug_rqs(struct blk_plug *plug);
+void blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule);
void blk_mq_release(struct request_queue *q);