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 7ED0EC43334 for ; Wed, 15 Jun 2022 11:03:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242502AbiFOLDd (ORCPT ); Wed, 15 Jun 2022 07:03:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348743AbiFOLBj (ORCPT ); Wed, 15 Jun 2022 07:01:39 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5B5B53B6A for ; Wed, 15 Jun 2022 04:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=92hQL4SWd28WtMWG+YjgiqTETBuP/O/qLVEtLptAqdc=; b=2N8dXFI7POSKPx0JLqa2q+nugK x67jbb5nz5U56jWU0qQMDGn7Bw7KDpYXPbhyvHWDf5Oe++h8heS8sE9LWtFnBAdJfFUS9PEl2kq0E QzUfGLPCl6GKUIgMgA2Y9AsX6ZKP36bl0UdZqcqz4C1j+SdZNpwEDpGyP/CFZkFkljNmKsCeRUiJC zuaJOOYTB6wIrxWEtHagHqOlLLxtfUVe+6TP7ZLylcg+por7FP046NubAhiwY4es578hnriDW2nxu xEA0bYZQiMxRnu/FfDUCKlSKbuFeCTnZimcREmSChimrCohaeBnSPEP8dIohz5ks31tt0SD3tVuMf BnPW4TWg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1QmB-00E2dS-NW; Wed, 15 Jun 2022 11:01:31 +0000 Date: Wed, 15 Jun 2022 04:01:31 -0700 From: Christoph Hellwig To: Liu Song Cc: axboe@kernel.dk, linux-block@vger.kernel.org Subject: Re: [PATCH] block: adjust the judgment order in submit_bio Message-ID: References: <1655286442-104784-1-git-send-email-liusong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1655286442-104784-1-git-send-email-liusong@linux.alibaba.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Wed, Jun 15, 2022 at 05:47:22PM +0800, Liu Song wrote: > From: Liu Song > > BIO_WORKINGSET is rarer than read, so adjust to the first one to judge. Can you explain how this matters at all? The right thing is of course to get rid of this check and I need to finish the series to do that.