aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorGravatar Arne Jansen <sensille@gmx.net> 2012-02-09 15:09:02 +0100
committerGravatar David Sterba <dsterba@suse.cz> 2012-02-15 16:40:24 +0100
commit859acaf1a29bbacf6256f1159210c8d6df992b33 (patch)
tree0e08eca0d031161762623049076a5bf3bf1186c0 /fs/btrfs/free-space-cache.c
parentBtrfs: fix trim 0 bytes after a device delete (diff)
downloadlinux-859acaf1a29bbacf6256f1159210c8d6df992b33.tar.gz
linux-859acaf1a29bbacf6256f1159210c8d6df992b33.tar.bz2
linux-859acaf1a29bbacf6256f1159210c8d6df992b33.zip
btrfs: don't check DUP chunks twice
Because scrub enumerates the dev extent tree to find the chunks to scrub, it currently finds each DUP chunk twice and also scrubs it twice. This patch makes sure that scrub_chunk only checks that part of the chunk the dev extent has been found for. This only changes the behaviour for DUP chunks. Reported-and-tested-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Arne Jansen <sensille@gmx.net>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions