Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp258666ybt; Tue, 30 Jun 2020 20:23:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvv+NbfXnMi7YypqhB0H2W+zmHf15YwWZJUdetFkxI3MFWb882sLU5R6GSe8AkcfoYfEXf X-Received: by 2002:a17:906:3282:: with SMTP id 2mr20265867ejw.93.1593573832663; Tue, 30 Jun 2020 20:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593573832; cv=none; d=google.com; s=arc-20160816; b=FvdXPm7OW1d1ecG+ES+6UVSTtcoFzrzJhU6ao1KfmNFirBFRmbtAtuG11ui2EI7CAY MYPLvMeue6NEB91BrVVYWL/jnLjzGIP6DBqJ+QjZAFLXYlso0aLCXfN3AJKZOfhmC/v4 WEqfsDvNsQi64uiVJhYX4HhpbBT3H6g3OhBpV2tEM4JBUSrnpSGPGlcJ4RNcJ35Ojsz2 UTU+2KHhnZ0g2d4ctMze6l6Umh0u/rfo80p6miCJv8CQ4930JvD8KeZ5pCeIKQLh8Q8P MyIJ8xVVe53gSJ7gD6JC51E5UZfRDAaPf61D3+bnW5AxhAI5m9uSXg1ZpwEpgc9K87+e bfFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5EP1az+7KrxsuvrbrREIqEau0yQRmhTd9Hq0TJ2WBO8=; b=MLwO8mepgSKOgMzmcaitVdpaIxmGVApREFxcjSWAN4pZFMld59h0qV7I/4pPwplwrZ VOJsuS0YhoMgVW6NeAj1jY0pvuJp40gBTOL+r5CTdhBTv1bly4vGF3V/BN9qfF8nwsxi 8Q2MxlwfyetXDOY4mwnzeRK2FBvQ2sEKNnupwByj0sFEbBKBFpBPP5srdxfs1uWOzVpH WRCh+L4feCYTwDZ0xzzWirYxAA+1WVZwTv9HRO9rVnjehQzYEv+ZWoIzv3LwovbHTF9p FrrRqI+M0Obn+S3syPanX0P6x/HgOFCso3fK5vrZjMuV4+8y3uuy0LxTBWphuPPEbYKe /xWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aX3rxSXN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mm30si3100681ejb.574.2020.06.30.20.23.30; Tue, 30 Jun 2020 20:23:52 -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; dkim=pass header.i=@kernel.org header.s=default header.b=aX3rxSXN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726621AbgGADVG (ORCPT + 99 others); Tue, 30 Jun 2020 23:21:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:57866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbgGADVG (ORCPT ); Tue, 30 Jun 2020 23:21:06 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 49DE1206EB; Wed, 1 Jul 2020 03:21:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593573665; bh=HVE3zk0axge7bEVB9R3MN+tHjgbSu5Z3EnQtCZ/J3is=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aX3rxSXN3aYlH5qoFY36iOZXR74Osz9lgGNdE6uwg4XfUaR9viS8H7HGAWlNz31Fj UYNXzg92YOIzRSG0Do8iJ7cIbXh0svi4qHle5ryNWHfJHwIEuedxxkFt6UC5XJk0X7 wE9HmmCets02jlHkYsmRfMxuxrobQeJya5T7PUJc= Date: Tue, 30 Jun 2020 23:21:04 -0400 From: Sasha Levin To: Pavel Machek 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: <20200701032104.GA1931@sasha-vm> References: <20200629153502.2494656-1-sashal@kernel.org> <20200629153502.2494656-12-sashal@kernel.org> <20200630210921.GA2728@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200630210921.GA2728@duo.ucw.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 30, 2020 at 11:09:21PM +0200, Pavel Machek wrote: >On Mon 2020-06-29 11:33:02, Sasha Levin wrote: >> From: Josef Bacik >> >> [ Upstream commit 6a9fb468f1152d6254f49fee6ac28c3cfa3367e5 ] >> >> 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. >> >> 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? Right. I've dropped it, thanks! -- Thanks, Sasha