]> git.baikalelectronics.ru Git - kernel.git/commit
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, 14 Mar 2022 12:13:48 +0000 (13:13 +0100)
commit0fe756b38af7c42d8e6fb0c4746ee40cabfb1ba5
treefa651aecb421baaa9904556cd23f51fa80825e50
parent29d9c3d1b13ad58fdc68ee2d1a77cf02206b082e
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