Message ID | 20230429093925.133327-9-joshi.k@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0E5CC77B7E for <linux-block@archiver.kernel.org>; Sat, 29 Apr 2023 09:43:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230511AbjD2JnK (ORCPT <rfc822;linux-block@archiver.kernel.org>); Sat, 29 Apr 2023 05:43:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231126AbjD2JnI (ORCPT <rfc822;linux-block@vger.kernel.org>); Sat, 29 Apr 2023 05:43:08 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C56C7211C for <linux-block@vger.kernel.org>; Sat, 29 Apr 2023 02:42:58 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20230429094257epoutp018ca8761a5e93d12f1e7f3e40a0810571~aXo6SR4zK2551625516epoutp014 for <linux-block@vger.kernel.org>; Sat, 29 Apr 2023 09:42:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20230429094257epoutp018ca8761a5e93d12f1e7f3e40a0810571~aXo6SR4zK2551625516epoutp014 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1682761377; bh=ZdLCtWWe0/Llin+LzaCzsXrHz2aghk9/ahbIIMl7+Xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YiseguAM2nMEq1UrQmZ5YJxrPzVuqFa6o+zE0l960iE1oy2dHd7WjlfHFw09x/6OW mp8SBHmDsWpFBii62yChTelWOCfZy01dqqFlWPRU3NEcGkZLc37R3Oy1xnbwUv8gka VZ6EVRl5X86ia+4Nwn8L8kOwDVen/k23+XSa7rrg= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20230429094255epcas5p447f0176a9d404b46dd0f40a3d864e95c~aXo5GlbYu1967019670epcas5p4R; Sat, 29 Apr 2023 09:42:55 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.176]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4Q7kzf1K7zz4x9Pq; Sat, 29 Apr 2023 09:42:54 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 52.60.55646.E96EC446; Sat, 29 Apr 2023 18:42:54 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20230429094253epcas5p3cfff90e1c003b6fc9c7c4a61287beecb~aXo2uScLC0334203342epcas5p3N; Sat, 29 Apr 2023 09:42:53 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230429094253epsmtrp1b582f9b72b57a2a0e53a6d45cb7a2113~aXo2tiA7x0376803768epsmtrp1w; Sat, 29 Apr 2023 09:42:53 +0000 (GMT) X-AuditID: b6c32a4b-913ff7000001d95e-f2-644ce69eed41 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 35.29.28392.D96EC446; Sat, 29 Apr 2023 18:42:53 +0900 (KST) Received: from localhost.localdomain (unknown [107.99.41.245]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230429094251epsmtip227856de4b7a95bc7378b7b46d1facec0~aXo1Ed1Pr0191301913epsmtip2-; Sat, 29 Apr 2023 09:42:51 +0000 (GMT) From: Kanchan Joshi <joshi.k@samsung.com> To: axboe@kernel.dk, hch@lst.de, sagi@grimberg.me, kbusch@kernel.org Cc: io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, gost.dev@samsung.com, anuj1072538@gmail.com, xiaoguang.wang@linux.alibaba.com, Anuj Gupta <anuj20.g@samsung.com>, Kanchan Joshi <joshi.k@samsung.com> Subject: [RFC PATCH 08/12] block: add mq_ops to submit and complete commands from raw-queue Date: Sat, 29 Apr 2023 15:09:21 +0530 Message-Id: <20230429093925.133327-9-joshi.k@samsung.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230429093925.133327-1-joshi.k@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFJsWRmVeSWpSXmKPExsWy7bCmhu68Zz4pBrsmsll8/PqbxaJpwl9m i9V3+9ksbh7YyWSxcvVRJot3redYLI7+f8tmMenQNUaLvbe0LeYve8puse71exaLTX9PMjnw eOycdZfd4/y9jSwel8+Wemxa1cnmsfOhpcfmJfUeu282sHn0bVnF6PF5k1wAZ1S2TUZqYkpq kUJqXnJ+SmZeuq2Sd3C8c7ypmYGhrqGlhbmSQl5ibqqtkotPgK5bZg7QvUoKZYk5pUChgMTi YiV9O5ui/NKSVIWM/OISW6XUgpScApMCveLE3OLSvHS9vNQSK0MDAyNToMKE7Iy3vbvZCjay V0x5MYmxgXEqWxcjJ4eEgInE/971rF2MXBxCArsZJbbtvsEEkhAS+MQo8fEqM0TiM6PExjeL 4TomdP1nh0jsYpR4eP8iK1xV1+P/QC0cHGwCmhIXJpeCNIgIuEg0rQVZx8XBLPCNUaJp91wW kISwQKzEkp9PWUFsFgFViUPtj8E28ApYSsydvoYFYpu8xMxL39lBbE4BK4nvM3YzQ9QISpyc +QSshhmopnnrbGaI+qUcEu9nhEHYLhKzZm9mhb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9vgo2iEVAVeJQ+2OwxbwClhJzp69hgVggLzHz0newGk4BK4nvM3Yzg8wXAqppXBAP US4ocXLmE7ByZqDy5q2zmScwCsxCkpqFJLWAkWkVo2RqQXFuem6xYYFRXmq5XnFibnFpXrpe cn7uJkZwlGhp7WDcs+qD3iFGJg7GQ4wSHMxKIry8le4pQrwpiZVVqUX58UWlOanFhxilOViU xHkvdJ2MFxJITyxJzU5NLUgtgskycXBKNTDNS0ksTljcq95wPSH1R0nR7QLz85erpGby/y9b faJ82Q2n57wvr0fUT74TJnDz4znO+MBfLQvDGZJ2807KbM94Weim9fD9wf0ZE1udKp5/Yikx XBW2/tG859rL9nKrW1py3fa89XrivKMa+ziCD0TOZZKUF3hivOvDuwVxi5c/936XsD18nULD uqTO1PeLD2fMiHuyuGBOpX/zMQ3BOadsn7zbubXR+uyXooX6oXM/35cy5fhyS2UNV8aKjKuv mS/oLpL5Je/GLhksIxO66tXK3pa49bIbN4XEqR1kyowyetSdf71i8vEn6gcuz7Q+3TexePfz L9pCx5229F+6rNtmpXRyu9+BkPIv9y/166XmKrEUZyQaajEXFScCAKgzlO8BAwAA X-CMS-MailID: 20230429094253epcas5p3cfff90e1c003b6fc9c7c4a61287beecb X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230429094253epcas5p3cfff90e1c003b6fc9c7c4a61287beecb References: <20230429093925.133327-1-joshi.k@samsung.com> <CGME20230429094253epcas5p3cfff90e1c003b6fc9c7c4a61287beecb@epcas5p3.samsung.com> Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org |
Series |
[RFC,01/12] nvme: refactor nvme_alloc_io_tag_set
|
expand
|
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 };