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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A5B2C433EF for ; Fri, 11 Mar 2022 06:49:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346856AbiCKGuc (ORCPT ); Fri, 11 Mar 2022 01:50:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346580AbiCKGub (ORCPT ); Fri, 11 Mar 2022 01:50:31 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F04F117776C; Thu, 10 Mar 2022 22:49:28 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id CF83168AFE; Fri, 11 Mar 2022 07:49:25 +0100 (CET) Date: Fri, 11 Mar 2022 07:49:25 +0100 From: Christoph Hellwig To: Kanchan Joshi Cc: Keith Busch , Kanchan Joshi , Jens Axboe , Christoph Hellwig , Pavel Begunkov , io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, sbates@raithlin.com, logang@deltatee.com, Pankaj Raghav , Javier =?iso-8859-1?Q?Gonz=E1lez?= , Luis Chamberlain , Adam Manzanares , Anuj Gupta Subject: Re: [PATCH 13/17] nvme: allow user passthrough commands to poll Message-ID: <20220311064925.GB17728@lst.de> References: <20220308152105.309618-1-joshi.k@samsung.com> <20220308152105.309618-14-joshi.k@samsung.com> <20220308170857.GA3501708@dhcp-10-100-145-180.wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Wed, Mar 09, 2022 at 12:33:33PM +0530, Kanchan Joshi wrote: > Would it be better if we don't try to pass NVME_HIPRI by any means > (flags or rsvd1/rsvd2), and that means not enabling sync-polling and > killing this patch. > We have another flag "IO_URING_F_UCMD_POLLED" in ioucmd->flags, and we > can use that instead to enable only the async polling. What do you > think? Yes, polling should be a io_uring level feature.