Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp71559ybt; Tue, 30 Jun 2020 15:05:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyd+uDr90cdx0iISOUhODmGh/IW2bf2GneN2Dx1pVeadKUPhVUwZdig5SIWg5bL5yW1nl7i X-Received: by 2002:a50:f058:: with SMTP id u24mr25579065edl.351.1593554364127; Tue, 30 Jun 2020 14:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593554364; cv=none; d=google.com; s=arc-20160816; b=hLSvTXstVydxccNacdIRwnTQnHAQb9w53cABPZEDW/qS7/eCtdnVFhipYUxo6WrIY5 pWSFK6e2T9n1DjSXqhgfbB7EaM8BiusbqyVoHDJDz7R07WqND4sfRVpYYSrXEE/R2NRw yv7Kdmll8sh6GyByoT0D4ia4Qfat5wsLlwAuAoDN+TFrXSeeMZG7TXjgQI5pmPYxztpt uoaLKfx9aPsK43cbQaCQGzrhSNTm7TAj78MwiteOyCUDmGW1nEBChUkuOqVOzTx0IJxW RiD0rp7be7FULyTCbCBM30aMhw0LUP7VKqACrA39ViJVwi6QdG8Zs9aZYWC3ZXLX6y27 QEZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vV72SB4cDqNGg6QlmQ84SuPZCkfplmTBdFYM118FYgw=; b=Zo37sp1SFgTPV8hXizkctQnKrzfsVlb1SuZZvXuSRu7SKIG22fbbP4hapBQRvdcugC 5xFCRxtkWgpkohyFi4bjyhsIhNrAfyv52lA3QYXG9Sd4rPN91RiFiqdsgL/L4D6vZPrY gKpNajuoClgtxkc0zLQ92f5RvBzPWJzcbBuzaJcCDnqfD2ZD7SYle3iHXoBET+lJ+PQJ KWg8RunnxXAgCgbgMyg3n81pj+fYSRvclgnq6qUhifzS4/oZcJWT23jPgG6i1gN2eCmQ gZpxI/JGLSIG+o6glw5A69G6/AlCBeJzWHrhGmWV54XueKPOVCxbnIN3yWI0Lq9rVcF/ d50A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si2548513ejy.226.2020.06.30.14.59.01; Tue, 30 Jun 2020 14:59:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728936AbgF3VJZ (ORCPT + 99 others); Tue, 30 Jun 2020 17:09:25 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:50570 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbgF3VJY (ORCPT ); Tue, 30 Jun 2020 17:09:24 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 008FA1C0C0A; Tue, 30 Jun 2020 23:09:21 +0200 (CEST) Date: Tue, 30 Jun 2020 23:09:21 +0200 From: Pavel Machek To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Josef Bacik , David Sterba Subject: Re: [PATCH 4.19 011/131] btrfs: make caching_thread use btrfs_find_next_key Message-ID: <20200630210921.GA2728@duo.ucw.cz> References: <20200629153502.2494656-1-sashal@kernel.org> <20200629153502.2494656-12-sashal@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <20200629153502.2494656-12-sashal@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2020-06-29 11:33:02, Sasha Levin wrote: > From: Josef Bacik >=20 > [ Upstream commit 6a9fb468f1152d6254f49fee6ac28c3cfa3367e5 ] >=20 > extent-tree.c has a find_next_key that just walks up the path to find > the next key, but it is used for both the caching stuff and the snapshot > delete stuff. The snapshot deletion stuff is special so it can't really > use btrfs_find_next_key, but the caching thread stuff can. We just need > to fix btrfs_find_next_key to deal with ->skip_locking and then it works > exactly the same as the private find_next_key helper. >=20 > Signed-off-by: Josef Bacik > Signed-off-by: David Sterba > Signed-off-by: Sasha Levin According to changelog, this is not known to fix a bug. Why is it needed in stable? Best regards, Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCXvuqAQAKCRAw5/Bqldv6 8vAxAKDDeBPcwQCmEBCxgg7n9Vy/A5WwDACfR1MHhWupwkJTa9noYLO+HVUQo00= =vZ97 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--