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 EB1B7C433EF for ; Fri, 22 Apr 2022 21:58:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231298AbiDVWBn (ORCPT ); Fri, 22 Apr 2022 18:01:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231179AbiDVWBm (ORCPT ); Fri, 22 Apr 2022 18:01:42 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A44E21DA401 for ; Fri, 22 Apr 2022 13:44:33 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 17A5321600; Fri, 22 Apr 2022 20:36:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1650659810; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hyy4/nEF7XOt5cDK+W5I6PX2Ok6Jp5p4YRj+6Hq4upk=; b=osBoKcahDcZneim1Y0HPOYoLMwf6GI/1s65KDdiHeCCaUANPzhNCK5s9/gb9Xzj5PGncAp 9jYz8K7h8Y020MuXtLP5oHMkXkHbAZBMkToaUq8VFHpSf979v+YXuETn47Rai5PfOLCasG URrClBXBT913fhZyTBi99WdBWvwksaU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1650659810; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hyy4/nEF7XOt5cDK+W5I6PX2Ok6Jp5p4YRj+6Hq4upk=; b=uLMe9ykyjxu9IV2AwpzWYVbq11xDQRKhf7p+/FFxk3YNgHVaTxlUv33wDL71GdUvLe433P gFxwFGqLMTUbC0Dw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EA70D131BD; Fri, 22 Apr 2022 20:36:49 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 5PM7OOERY2IDAgAAMHmgww (envelope-from ); Fri, 22 Apr 2022 20:36:49 +0000 Date: Fri, 22 Apr 2022 22:32:44 +0200 From: David Sterba To: Gabriel Niebler Cc: linux-btrfs@vger.kernel.org, dsterba@suse.com Subject: Re: [PATCH v2] btrfs: Turn fs_info member buffer_radix into XArray Message-ID: <20220422203244.GK18596@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Gabriel Niebler , linux-btrfs@vger.kernel.org, dsterba@suse.com References: <20220421154538.413-1-gniebler@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220421154538.413-1-gniebler@suse.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Apr 21, 2022 at 05:45:38PM +0200, Gabriel Niebler wrote: > … named 'extent_buffers'. Also adjust all usages of this object to use the > XArray API, which greatly simplifies the code as it takes care of locking > and is generally easier to use and understand, providing notionally > simpler array semantics. > > Also perform some light refactoring. > > Signed-off-by: Gabriel Niebler I've added the patch to for-next, seems that it survived one night test round, so it seems to be fine. I'll move it to misc-next next week, Nikolay was interested in reviewing the xarray patches.