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=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 5F38AC4320A for ; Thu, 12 Aug 2021 16:35:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 455596109F for ; Thu, 12 Aug 2021 16:35:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232302AbhHLQfr (ORCPT ); Thu, 12 Aug 2021 12:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231470AbhHLQfa (ORCPT ); Thu, 12 Aug 2021 12:35:30 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C5E6C061756; Thu, 12 Aug 2021 09:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=ACm0fqAIuFX7BZZ77Max2Jtw2J5LfnzS9XyqVDSSvGU=; b=qQyDuJ8dOxWZCJy9ERKBKmlSTH n0gbYsfXycDhey9MsPOY5hu0w9zw+7vcD3ekRpSsHT6aHikjXzzu4yIQhBc/K+rIErPQ31LvDMz0D vCIaWexbSBM4im3Dh/Vy0ssX3T5qXNIuMnXv/RJiRoasCEePGvFmDmKde/PrvzoSPBy2e0H1/DWQG XNWXE7cC37uy5WH5TW8db+IP7c7xVkAS+kc9zG0owjvM1wYnUNbQJTUT7HaQV5sgws/RaGUXyQ7GI tvKexU+9sAYMR2xxmzDeqxZAxjpYAemg+NLobN469ibSZy7+tFgrR2F4XgxZspmP2GyYPmLPPH8K9 6Ui4DmuQ==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEDeO-00Em1H-5C; Thu, 12 Aug 2021 16:34:10 +0000 Date: Thu, 12 Aug 2021 17:33:48 +0100 From: Christoph Hellwig To: Jens Axboe Cc: io-uring@vger.kernel.org, linux-block@vger.kernel.org, hch@infradead.org Subject: Re: [PATCH 4/6] block: clear BIO_PERCPU_CACHE flag if polling isn't supported Message-ID: References: <20210812154149.1061502-1-axboe@kernel.dk> <20210812154149.1061502-5-axboe@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210812154149.1061502-5-axboe@kernel.dk> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Aug 12, 2021 at 09:41:47AM -0600, Jens Axboe wrote: > The bio alloc cache relies on the fact that a polled bio will complete > in process context, clear the cacheable flag if we disable polling > for a given bio. > > Signed-off-by: Jens Axboe Looks good, Reviewed-by: Christoph Hellwig