From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [195.159.176.226] ([195.159.176.226]:41255 "EHLO blaine.gmane.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1760490AbcIWOkM (ORCPT ); Fri, 23 Sep 2016 10:40:12 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bnRe0-0005ui-Gt for linux-btrfs@vger.kernel.org; Fri, 23 Sep 2016 16:40:04 +0200 To: linux-btrfs@vger.kernel.org From: Holger =?iso-8859-1?q?Hoffst=E4tte?= Subject: Re: [PATCH v2 2/6] Btrfs: fix mount -o clear_cache,space_cache=v2 Date: Fri, 23 Sep 2016 14:37:58 +0000 (UTC) Message-ID: References: <218563982dbe4387c60909eeb0add6914a20f813.1474580472.git.osandov@fb.com> <016aef0e9b3421cc2d2cce0914a746a14eb7af45.1474580472.git.osandov@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Thu, 22 Sep 2016 17:24:21 -0700, Omar Sandoval wrote: > From: Omar Sandoval > > We moved the code for creating the free space tree the first time that > it's enabled, but didn't move the clearing code along with it. This > breaks my (undocumented) intention that `mount -o > clear_cache,space_cache=v2` would clear the free space tree and then > recreate it. > > Fixes: 511711af91f2 ("btrfs: don't run delayed references while we are creating the free space tree") > Cc: stable@vger.kernel.org # 4.5+ > Signed-off-by: Omar Sandoval Tested-by: Holger Hoffstätte Thanks! Holger