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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 E4883CA90AF for ; Wed, 13 May 2020 13:01:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C36EC205ED for ; Wed, 13 May 2020 13:01:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="u5dtHE2b" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728172AbgEMNBF (ORCPT ); Wed, 13 May 2020 09:01:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729931AbgEMNBC (ORCPT ); Wed, 13 May 2020 09:01:02 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAD8EC061A0C for ; Wed, 13 May 2020 06:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=eXK4B2evJjlz74akxDgNiVcYQRD+IEdhbQnleT+7YKo=; b=u5dtHE2bueorptwDS8JD9VtxxD XaKGVPXDe6cOEXJ1Gw1OSwi2QHrNtaD8fqBP8dR1wp/sMMaGDFVyNQQA01HdJZETEoGyi9XmB8W5u 8ltbjlz05PuP083WBQ1mV3aa1IWJtG+pEg986d1H+zvVHnIi8aoBVQ2acnpNzklSDvGVajaYtuqWa dy246yJhcO8F1Xluvv24MpDLO+rZO5Fo73johvqhLRYsbk/S2UDs1eHYYAMm+iPcDuA13FGSo07UL aeRJmJ0VWl5wo6cPszT4q5qVkuUbVt112UZovaWDhaNc7CQAXnhGzszROgERD3nirpiHMg3YAJPbl qnaYEKsg==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYr0O-00085R-Lb; Wed, 13 May 2020 13:01:00 +0000 Date: Wed, 13 May 2020 06:01:00 -0700 From: Christoph Hellwig To: Ming Lei Cc: Jens Axboe , linux-block@vger.kernel.org, Sagi Grimberg , Baolin Wang , Christoph Hellwig Subject: Re: [PATCH 6/9] blk-mq: move code for handling partial dispatch into one helper Message-ID: <20200513130100.GH23958@infradead.org> References: <20200513095443.2038859-1-ming.lei@redhat.com> <20200513095443.2038859-7-ming.lei@redhat.com> <20200513125656.GF23958@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200513125656.GF23958@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Btw, with the many arguments an more beeing added later I'm not sure anymore if this is really worth a separate function or just if goto label at the end of blk_mq_dispatch_rq_list that can be jumped to, and which has the same amount of indentation is the better idea.