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 78397C433EF for ; Tue, 3 May 2022 20:53:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237127AbiECU4i (ORCPT ); Tue, 3 May 2022 16:56:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236160AbiECU4h (ORCPT ); Tue, 3 May 2022 16:56:37 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ACF333A3B for ; Tue, 3 May 2022 13:53:04 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 80F9168AFE; Tue, 3 May 2022 22:53:01 +0200 (CEST) Date: Tue, 3 May 2022 22:53:01 +0200 From: Christoph Hellwig To: Pankaj Raghav Cc: axboe@kernel.dk, hch@lst.de, io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, asml.silence@gmail.com, ming.lei@redhat.com, mcgrof@kernel.org, shr@fb.com, joshiiitr@gmail.com, gost.dev@samsung.com Subject: Re: [PATCH v3 2/5] block: wire-up support for passthrough plugging Message-ID: <20220503205301.GB9567@lst.de> References: <20220503184831.78705-1-p.raghav@samsung.com> <20220503184831.78705-3-p.raghav@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220503184831.78705-3-p.raghav@samsung.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org > + if (plug) { > + blk_add_rq_to_plug(plug, rq); > + } else { I'd just do an eary return after the blk_add_rq_to_plug call and leave the rest of the code untouched and unindented. Otherwise this looks good: Reviewed-by: Christoph Hellwig