diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-09-30 23:45:10 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 20:00:36 +0300 |
commit | 632ddfa2131f0fea1831bc1f4b28c68faa779156 (patch) | |
tree | 3bfa0fb94e69d7dbeafc3eca3dd1273c12e18861 /virt/kvm/async_pf.c | |
parent | 83ae4133ac9410ac6a57136e464d498dc66200cf (diff) | |
download | linux-632ddfa2131f0fea1831bc1f4b28c68faa779156.tar.xz |
btrfs: use cached_state for btrfs_check_nocow_lock
Now that try_lock_extent() takes a cached_state, plumb the cached_state
through btrfs_try_lock_ordered_range() and then use a cached_state in
btrfs_check_nocow_lock everywhere to avoid extra tree searches on the
extent_io_tree.
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 'virt/kvm/async_pf.c')
0 files changed, 0 insertions, 0 deletions