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 2FF21C433EF for ; Wed, 13 Jul 2022 11:18:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235843AbiGMLSH (ORCPT ); Wed, 13 Jul 2022 07:18:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235958AbiGMLSG (ORCPT ); Wed, 13 Jul 2022 07:18:06 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1A02EDB51 for ; Wed, 13 Jul 2022 04:18:05 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id BD9F967373; Wed, 13 Jul 2022 13:18:01 +0200 (CEST) Date: Wed, 13 Jul 2022 13:18:01 +0200 From: Christoph Hellwig To: Johannes Thumshirn Cc: Christoph Hellwig , Chris Mason , Josef Bacik , David Sterba , Nikolay Borisov , "linux-btrfs@vger.kernel.org" Subject: Re: [PATCH 10/11] btrfs: make the btrfs_io_context allocation in __btrfs_map_block optional Message-ID: <20220713111801.GA32416@lst.de> References: <20220713061359.1980118-1-hch@lst.de> <20220713061359.1980118-11-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 Wed, Jul 13, 2022 at 09:58:15AM +0000, Johannes Thumshirn wrote: > Could be my changes on top, but in order to get RAID0 with a raid-stripe-tree > working I needed the following change: For the existing raid0 code we can one call to __btfs_map_block, so this is not needed. I think it should go into your series and be restricted to declustered raid0 only.