Qu Wenruo - 29.12.20, 01:44:07 CET:
> So what I can do is only to add a warning message to the problem.
> 
> To solve your problem, I also submitted a patch to btrfs-progs, to
> force v1 space cache cleaning even if the fs has v2 space cache
> enabled.
> 
> Or, you can disable v2 space cache first, using "btrfs check
> --clear-space-cache v2" first, then "btrfs check --clear-space_cache
> v1", and finally mount the fs with "space_cache=v2" again.
> 
> To verify there is no space cache v1 left, you can run the following
> command to verify:
> 
> # btrfs ins dump-tree -t root <device> | grep EXTENT_DATA
> 
> It should output nothing.

I have v1 space_cache stuff on filesystems which use v2 space_cache as 
well, so…

the fully working way to completely switch to spacecache_v2 for any 
BTRFS filesystem with space cache v1, is what you wrote above?

Or would it be more straight forward than that with a newer kernel?

Best,
-- 
Martin


Reply via email to