Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1780043ybh; Mon, 20 Jul 2020 07:06:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyceFFJnTQv5jKZeH/G/H0+ijQurH21hwMMP4xvutz6m3JMWDZpa8kGvYbWE+7e18AXcWX7 X-Received: by 2002:a17:906:748:: with SMTP id z8mr21503140ejb.257.1595254014607; Mon, 20 Jul 2020 07:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595254014; cv=none; d=google.com; s=arc-20160816; b=EYYrrluXFdTJgYGFpjISQydHgonDqWRlXVjai5250UACaHXw5HOOXPjGtWYanaStCz KbbLEutT/C6O4hfjrT43w7V5SDQ34myFgCEWIgzPE/Bsh3ftbk7ycPLj/U0Sf56EyX3S +8MQYbYR/V96+a0N+eBem8ntrZfUBMuNmN1CArQA6UOGI0J5RaogKgwjgdONq91yq22r buXDAljzWN2is20PzMK/Hawkg3Xfb2fJy49DOdv4FvLbYlET2+66vrS0D8DTpiPeAYmr kZVxGQa9PfGv7yDdnFP+qiCeIzeKpGu3NV6XQiq94d6P27BybGAiNnhJTiF0l+qcBypF npYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TlyfO39sV5QmYWf46qnC+RPWDEUWz6d83D24JDUB4f0=; b=C2XOax8XGAempUN9i5gkoXMWeiP7SFG87qVodS+chauyyBmLaSSKOeV8NOqMH6WAkd c4VwlsZq+LMlJie1f5nysVS3EYvK9GeaquEinQAppzHSb0mfEt2fPd7jlwLeju61ubn2 jKfkqol6GeYyiPCdMagpK/iJcxUeIbDrGSKQeu6jpJCpAgoXIwCxoixDBAleTeKOmUD9 QA3qnxsuhIXazUwDBmsyelzogG5q+CfHJok5M6/uBJYmN2Q1pQJ8OwZq9FfBC5tUhzk5 eAKeGn1uXPCKVHTNtu/NIK7pHCTE5EcXpoQnIHHkyjo2yU0ig1DwYDV7AaOyh8cFHurM FMUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p2si10661909edr.239.2020.07.20.07.06.31; Mon, 20 Jul 2020 07:06:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726771AbgGTOGF (ORCPT + 99 others); Mon, 20 Jul 2020 10:06:05 -0400 Received: from verein.lst.de ([213.95.11.211]:47128 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbgGTOGF (ORCPT ); Mon, 20 Jul 2020 10:06:05 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id AA26068BFE; Mon, 20 Jul 2020 16:06:01 +0200 (CEST) Date: Mon, 20 Jul 2020 16:06:01 +0200 From: Christoph Hellwig To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, Christoph Hellwig , Sagi Grimberg , Keith Busch , Jens Axboe , Chaitanya Kulkarni , Max Gurtovoy , Stephen Bates Subject: Re: [PATCH v15 3/9] nvme: Move nvme_passthru_[start|end]() calls to common helper Message-ID: <20200720140601.GC4627@lst.de> References: <20200716203319.16022-1-logang@deltatee.com> <20200716203319.16022-4-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716203319.16022-4-logang@deltatee.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 16, 2020 at 02:33:13PM -0600, Logan Gunthorpe wrote: > Introduce a new nvme_execute_passthru_rq() helper which calls > nvme_passthru_[start|end]() around blk_execute_rq(). This ensures > all passthru calls (including nvme_submit_io()) will be wrapped > appropriately. > > nvme_execute_passthru_rq() will also be useful for the nvmet passthru > code. > > Signed-off-by: Logan Gunthorpe > Reviewed-by: Sagi Grimberg Looks good, Reviewed-by: Christoph Hellwig although maybe you could have moved the code you changed in the last patch up already to not just move it after changing it in the last one.