Merge tag 'x86_cache_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[linux-block.git] / block / elevator.h
index 774a8f6b99e69e71e47cbdfbf028b634c9f18d78..7ca3d7b6ed8289fca0f1261eb9a5001018fc04cc 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <linux/percpu.h>
 #include <linux/hashtable.h>
+#include "blk-mq.h"
 
 struct io_cq;
 struct elevator_type;
@@ -37,7 +38,8 @@ struct elevator_mq_ops {
        void (*limit_depth)(blk_opf_t, struct blk_mq_alloc_data *);
        void (*prepare_request)(struct request *);
        void (*finish_request)(struct request *);
-       void (*insert_requests)(struct blk_mq_hw_ctx *, struct list_head *, bool);
+       void (*insert_requests)(struct blk_mq_hw_ctx *hctx, struct list_head *list,
+                       blk_insert_t flags);
        struct request *(*dispatch_request)(struct blk_mq_hw_ctx *);
        bool (*has_work)(struct blk_mq_hw_ctx *);
        void (*completed_request)(struct request *, u64);