summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-io-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-30 16:45:11 -0400
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:36 +0100
commit9c5c9604631ae5fcdc5124c79d01d75f80b5ffd4 (patch)
treee1bfb876e131fff0a37664beb1c627850b641e46 /fs/btrfs/extent-io-tree.c
parent632ddfa2131f0fea1831bc1f4b28c68faa779156 (diff)
downloadlwn-9c5c9604631ae5fcdc5124c79d01d75f80b5ffd4.tar.gz
lwn-9c5c9604631ae5fcdc5124c79d01d75f80b5ffd4.zip
btrfs: use a cached_state everywhere in relocation
All of the relocation code avoids using the cached state, despite everywhere using the normal lock_extent() // do something unlock_extent() pattern. Fix this by plumbing a cached state throughout all of these functions in order to allow for less tree searches. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-io-tree.c')
0 files changed, 0 insertions, 0 deletions