Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1063325rwl; Thu, 5 Jan 2023 08:12:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXvLojR951BnSuvhhdRlwzN5hQ+apGeKciLb4A9Gnf8Ro+A6Dh/CBBOz2uzGHdtUEo07dkV2 X-Received: by 2002:aa7:d393:0:b0:490:47c3:3d7f with SMTP id x19-20020aa7d393000000b0049047c33d7fmr4034393edq.2.1672935148203; Thu, 05 Jan 2023 08:12:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672935148; cv=none; d=google.com; s=arc-20160816; b=0WelqCJp9PeoyNqiiIcpO2sRrH/xdf7U3jEN1PgY4YTN1Uh7+JtfXmcFB9E5ONgKqg u5ThDigSer65KnvX5Fy0PRuCHwzvR46KfIi1pHltRo3bjAPkw4kq5DkvdG62G+K1Xb+g ngKVmdH/BVbJy8wokCQ0YWNEeTCxQ2qp99Xty4j3NO9NrEnCVtuXMiN2svNg2qPWR3pc rl5H8gHpSTSJ+4mJgnRznjTT1nDjSGjMJHDGHHDMuwmIwLjO75tjoMaWjXmUF43XrOcT 0qYeUMUOdPqNPkJkDqG3kLgB3r8uJ5Jx7Ce3ZcZTkvy2r/e1LKIZaC8XWDQh7eVDi+9v IRaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=cWnKduYsGkhvVNLLWlqaYeRZrHIvZrjkjpHvLrDPdQc=; b=KrnBs14lLHAzS+EHImucDftujyFz33Ame28SLuK0WHrk8o1bcR8Drssnv+qOZx/Hjy eGbsghngByWvLdAMm+ezYxjfW9ID4YlsAuyxUu8hwD8vAbJcHA2gZKNiL8GAS2UFIoux 4WzX7b2gkk7XpEasnn2GvEOqSRXoifPX0tjWw+XnRIxtDr+fM1nzw6n4oB1zc4iN2eoO dPTcWBAEZaqBw3Es5JGjjfWST+ODKLw6Ay2ud3gh+JoUr7Y/6MmUg7Be2DrTPFZZYgiE 5isy92eBLOOG530jLp9t73fwZkjBJDy2njc98MxD4ShxIULZRw9tR8+srOvBtpCgfm3n 0guQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PSWLh1x7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a056402084800b0046c8d52c79asi38317749edz.357.2023.01.05.08.12.14; Thu, 05 Jan 2023 08:12:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PSWLh1x7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234408AbjAEPlY (ORCPT + 57 others); Thu, 5 Jan 2023 10:41:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232062AbjAEPlV (ORCPT ); Thu, 5 Jan 2023 10:41:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 450034FD53; Thu, 5 Jan 2023 07:41:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D54E561B03; Thu, 5 Jan 2023 15:41:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E89AC433D2; Thu, 5 Jan 2023 15:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672933280; bh=HMw6d5DaD8oLSna6K7FKbXLZjsmjbQLLfWBhAkYmJ7w=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=PSWLh1x7NJlEJ3DCbCtV2eCYcuROG9GFlmEot0Ks5VwkcNKzADaNxZWEJhmBhYSVB cAOipZlX0wIE7QrhhAkK4q+qaUCEDFvWlIQsmsr7cQn2yPx3QXAznwsPelP566/Gwc OG0z20SOv1fHl+aj1ICbfjpFmhvZJAuDlB9WG3hHN+6gkiGh3/SDVEDKltPr7Kiqnx iKvZZWMIbCCr7hB6BlL5gLD2hcwey9EKTL6jsWB7QfluMwPz3zDs393vIP9lRpUxxD Z58DZ8yk/wUb3HUSEU8mfzGWk4TERdnUx7iqPf/ECds0DaYcfW/CkYJWT4c/Roxn+r 3AvECw0nbpAuw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id CEDB15C029A; Thu, 5 Jan 2023 07:41:19 -0800 (PST) Date: Thu, 5 Jan 2023 07:41:19 -0800 From: "Paul E. McKenney" To: Qu Wenruo Cc: rcu@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org Subject: Re: [PATCH rcu 18/27] fs/btrfs: Remove "select SRCU" Message-ID: <20230105154119.GT4028633@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20230105003759.GA1769545@paulmck-ThinkPad-P17-Gen-1> <20230105003813.1770367-18-paulmck@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 05, 2023 at 05:06:09PM +0800, Qu Wenruo wrote: > > > On 2023/1/5 08:38, Paul E. McKenney wrote: > > Now that the SRCU Kconfig option is unconditionally selected, there is > > no longer any point in selecting it. Therefore, remove the "select SRCU" > > Kconfig statements. > > > > Signed-off-by: Paul E. McKenney > > Cc: Chris Mason > > Cc: Josef Bacik > > Cc: David Sterba > > Cc: > > In fact, since commit c75e839414d3 ("btrfs: kill the subvol_srcu"), we can > completely remove any SRCU related configs and even includes. $ git grep srcu fs/btrfs/ fs/btrfs/disk-io.h: * fs_info->subvol_srcu I know that situation. ;-) > Reviewed-by: Qu Wenruo Thank you! I will update on my next rebase. Thanx, Paul > Thanks, > Qu > > > --- > > fs/btrfs/Kconfig | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig > > index 183e5c4aed348..37b6bab90c835 100644 > > --- a/fs/btrfs/Kconfig > > +++ b/fs/btrfs/Kconfig > > @@ -17,7 +17,6 @@ config BTRFS_FS > > select FS_IOMAP > > select RAID6_PQ > > select XOR_BLOCKS > > - select SRCU > > depends on PAGE_SIZE_LESS_THAN_256KB > > help