Re: [PATCH v2 2/6] Btrfs: fix mount -o clear_cache,space_cache=v2
From: Holger Hoffstätte <hidden>
Date: 2016-09-23 14:40:12
From: Holger Hoffstätte <hidden>
Date: 2016-09-23 14:40:12
On Thu, 22 Sep 2016 17:24:21 -0700, Omar Sandoval wrote:
From: Omar Sandoval <redacted>
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 <redacted>Tested-by: Holger Hoffstätte <redacted> Thanks! Holger