From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B50AC433EF for ; Tue, 7 Sep 2021 07:48:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 32D5E61102 for ; Tue, 7 Sep 2021 07:48:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235693AbhIGHtw (ORCPT ); Tue, 7 Sep 2021 03:49:52 -0400 Received: from verein.lst.de ([213.95.11.211]:34968 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233953AbhIGHtv (ORCPT ); Tue, 7 Sep 2021 03:49:51 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 66F0568AFE; Tue, 7 Sep 2021 09:48:44 +0200 (CEST) Date: Tue, 7 Sep 2021 09:48:44 +0200 From: Christoph Hellwig To: Kanchan Joshi Cc: axboe@kernel.dk, hch@lst.de, kbusch@kernel.org, io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, anuj20.g@samsung.com, javier.gonz@samsung.com, hare@suse.de Subject: Re: [RFC PATCH 5/6] io_uring: add support for uring_cmd with fixed-buffer Message-ID: <20210907074844.GD29874@lst.de> References: <20210805125539.66958-1-joshi.k@samsung.com> <20210805125539.66958-6-joshi.k@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210805125539.66958-6-joshi.k@samsung.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Thu, Aug 05, 2021 at 06:25:38PM +0530, Kanchan Joshi wrote: > From: Anuj Gupta > > Add IORING_OP_URING_CMD_FIXED opcode that enables performing the > operation with previously registered buffers. We should also pass this information on into ->uring_cmd instead of needing two ioctl_cmd opcodes.