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 967EAC678D4 for ; Fri, 3 Mar 2023 14:24:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230351AbjCCOYg (ORCPT ); Fri, 3 Mar 2023 09:24:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbjCCOYf (ORCPT ); Fri, 3 Mar 2023 09:24:35 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F6245A6FF for ; Fri, 3 Mar 2023 06:24:34 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 88E4468BEB; Fri, 3 Mar 2023 15:24:30 +0100 (CET) Date: Fri, 3 Mar 2023 15:24:30 +0100 From: Christoph Hellwig To: Qu Wenruo Cc: Christoph Hellwig , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org Subject: Re: [PATCH 02/10] btrfs: cleanup btrfs_encoded_read_regular_fill_pages Message-ID: <20230303142430.GA32738@lst.de> References: <20230301134244.1378533-1-hch@lst.de> <20230301134244.1378533-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Fri, Mar 03, 2023 at 07:24:29AM +0800, Qu Wenruo wrote: > Can't we even merge the bio allocation into the main loop? > > Maybe something like this instead? That should work. I personally prefer the version that I sent out, though.