From: Anuj Gupta <anuj20.g@xxxxxxxxxxx> This patch introduces ->queue_uring_cmd and -> poll_uring_cmd in mq_ops, which will allow to submit and complete (via polling) from the specified raw-queue (denoted by qid). Signed-off-by: Kanchan Joshi <joshi.k@xxxxxxxxxxx> Signed-off-by: Anuj Gupta <anuj20.g@xxxxxxxxxxx> --- include/linux/blk-mq.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 7d6790be4847..dcce2939ff1e 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -659,6 +659,9 @@ struct blk_mq_ops { void (*show_rq)(struct seq_file *m, struct request *rq); int (*register_queue)(void *data); int (*unregister_queue)(void *data, int qid); + int (*queue_uring_cmd)(struct io_uring_cmd *ioucmd, int qid); + int (*poll_uring_cmd)(struct io_uring_cmd *ioucmd, int qid, + struct io_comp_batch *); #endif }; -- 2.25.1