Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp674758lql; Mon, 11 Mar 2024 14:01:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYYmnu5A7F1Z6yGRZH1Nhmu+yjJcGcQ5lp6L31OeD2CMARt+bLYn5zucQoNyvrHU+niZv1xq2u2/a6ffJtPXLdV6AfeCaqcGj8nFQ4ug== X-Google-Smtp-Source: AGHT+IEkvRiThUQ/UQQDEGahvUsPiEi2lO4PbLmp9xlCORYVvCOiIKnwubxfL3Tz4Jkg9Hf9C7q4 X-Received: by 2002:a17:906:3ad3:b0:a45:a2cc:eb93 with SMTP id z19-20020a1709063ad300b00a45a2cceb93mr6064898ejd.4.1710190866951; Mon, 11 Mar 2024 14:01:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710190866; cv=pass; d=google.com; s=arc-20160816; b=yOxXY3BDOmKECm5GpSdy6UuA2TwTXh7ELCgcdtOy29EQo5Uvjg651IYGiYlnbNVz+J ZPle3Y1scPIFf0tVvxYmUpcoHDA+HRUb7qQXp9wZG8NqmaUTxnIx005Gw28s1k3zEp5n DgauGTmrZCD5OUt+6gC6qAkIIiW6O+xgowuEmdDzPrKmbixttuf7m5FxbBFi5GEqI/MK 8wgGDbcZNvagx8QBv8uM3NA48HIgWvG1nvwnS/ut/Lu+tC/CfS1dQfqYohnnW8Gbbp+C IOyoII0nLwTorZMct9CD7rLR64eMXEKYM62H+AY1hcmMONfrCQvbbYaV97iytFvQg6mP O6LQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eRG5QydhOxCq5Uyj5YlfVbwbsUoHAirIzqiitHT1/Wo=; fh=i/98itDML3hBwFg8dPSKmiGYV9usrWYm54a+YvmLhSU=; b=kUrxRibKm3X9vqWCLlB1c5EecHjgpfOVfsXGS5qXyATGcCvCa/2fATN+1QRZdk0Oji G27qzhVV32UkP1jw8j5R6OXPmnrXApkhkB0U92ahGU/JsO7kXy05MShQJwTshfUjyHgH tP+18wQbcAeDx16isYZ1s8yYaMhkdlFHZAN+ICmphkG0oyHZgxPMXvhV/MNivziuCdPO vkTbiNcOCaEg+mfFkWL914kek7Agf+RvUDQ28VHgjnJDhK0NZpIWVvwQi8quwGVUdEnS NMa0GNq8dtT83XSNYfFt9uOPMd/Sr+vYS2kplJ/QfRQdJJCWNOfxtRMOc80/3qcrg/AC gGEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=lSAnos9U; arc=pass (i=1 spf=pass spfdomain=ucw.cz dkim=pass dkdomain=ucw.cz dmarc=pass fromdomain=ucw.cz); spf=pass (google.com: domain of linux-kernel+bounces-99541-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99541-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gv24-20020a170906f11800b00a462338a79fsi1431159ejb.41.2024.03.11.14.01.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 14:01:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99541-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=lSAnos9U; arc=pass (i=1 spf=pass spfdomain=ucw.cz dkim=pass dkdomain=ucw.cz dmarc=pass fromdomain=ucw.cz); spf=pass (google.com: domain of linux-kernel+bounces-99541-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99541-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB34C1F214D5 for ; Mon, 11 Mar 2024 21:01:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D78E45677A; Mon, 11 Mar 2024 21:00:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ucw.cz header.i=@ucw.cz header.b="lSAnos9U" Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 062A44D5AB; Mon, 11 Mar 2024 21:00:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.255.230.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710190856; cv=none; b=XJ0FSypZZ3QAJsZ3EHss00yqlx14yu8T8W+yH1tIGU79liW8tXLI44zQOUZeKvu31hoVNh8XR9aUgBkyom88we83gXGDe6dyC1Fw28gVm1KxvqRrJDI/MeMzibZ3YjHTXRnkx/uk46RwJs0CZUy91V+ySbaBTSTB/LXNiXpC+Q4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710190856; c=relaxed/simple; bh=huiYCD6OSOOJ73LaTGApkyTSW1a8n0YAyt7Da0lmbuQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k90+im5BAoAzKULl5yBSBJM5zY+yx8mxgasR2xTOlYn+glD6amW9z1qcgg1TyG8Pugml5aBBVF+/fbUHwx1L4CBZqRYdAKgbl4ojIMJe79bray4qfuvolKNr5gH8BnTc/GlTlGvIo6o20MT0XUWnUXEl5V3Yko4yxF6sMLHEjy4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ucw.cz; spf=pass smtp.mailfrom=ucw.cz; dkim=pass (1024-bit key) header.d=ucw.cz header.i=@ucw.cz header.b=lSAnos9U; arc=none smtp.client-ip=46.255.230.98 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ucw.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ucw.cz Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id EDB461C006B; Mon, 11 Mar 2024 22:00:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1710190843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eRG5QydhOxCq5Uyj5YlfVbwbsUoHAirIzqiitHT1/Wo=; b=lSAnos9UsUozQksq3TeKs8y9lTnD38UPL2hfSMIn1nodKNZZ2qKuCvmjggHhgfCPipB/+8 WjkRmt25zJVh5E1QPMSqU6aDu06tCP2bp6fq9al+kJnj+/N7Hav69CCv+NzxdN2/PMl/I4 ZCOIQi1DccJr+BwUjOfRyX00MvZkwnM= Date: Mon, 11 Mar 2024 22:00:43 +0100 From: Pavel Machek To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Filipe Manana , Johannes Thumshirn , Josef Bacik , Boris Burkov , David Sterba , clm@fb.com, linux-btrfs@vger.kernel.org Subject: Re: [PATCH AUTOSEL 5.10 1/7] btrfs: add and use helper to check if block group is used Message-ID: References: <20240229155112.2851155-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fhKTT6iKPlPYyrIx" Content-Disposition: inline In-Reply-To: <20240229155112.2851155-1-sashal@kernel.org> --fhKTT6iKPlPYyrIx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Filipe Manana >=20 > [ Upstream commit 1693d5442c458ae8d5b0d58463b873cd879569ed ] >=20 > Add a helper function to determine if a block group is being used and make > use of it at btrfs_delete_unused_bgs(). This helper will also be used in > future code changes. Does not fix a bug and does not seem to be preparation for anything, so probably should not be here. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --fhKTT6iKPlPYyrIx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZe9w+wAKCRAw5/Bqldv6 8sMpAJ0aS87z23pKrfRwqSQ9hkpnZ7ED2QCfZoSpbpYedTtyY1hcI6paA5MRvlY= =k/uE -----END PGP SIGNATURE----- --fhKTT6iKPlPYyrIx--