btrfs: disable scrub for extent-tree-v2
authorJosef Bacik <josef@toxicpanda.com>
Wed, 15 Dec 2021 20:40:02 +0000 (15:40 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 Feb 2022 15:19:49 +0000 (16:19 +0100)
commit08d49f867d6e6f7f95f0e43a1f81fdc08ecb3ae7
tree66f43564721c2b8719856304bbaa407a6ca3ed36
parent6427f1ad58f989ecc288937e2a647ed28f89556c
btrfs: disable scrub for extent-tree-v2

Scrub depends on extent references for every block, and with extent tree
v2 we won't have that, so disable scrub until we can add back the proper
code to handle extent-tree-v2.

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