]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: disable space cache related mount options for extent tree v2
authorJosef Bacik <josef@toxicpanda.com>
Wed, 15 Dec 2021 20:40:04 +0000 (15:40 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2022 12:13:48 +0000 (13:13 +0100)
commita93ffe4c19fa52016a6b095a47fb5241d5232f73
treedc66adfa959832e6130d97d2b6678cf8552bfdd2
parente90c2a7d69a310a23cb45148257e5fa97dab3a97
btrfs: disable space cache related mount options for extent tree v2

We cannot fall back on the slow caching for extent tree v2, which means
we can't just arbitrarily clear the free space trees at mount time.
Furthermore we can't do v1 space cache with extent tree v2.  Simply
ignore these mount options for extent tree v2 as they aren't relevant.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c