summaryrefslogtreecommitdiff
path: root/virt/kvm/async_pf.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-30 23:45:10 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:36 +0300
commit632ddfa2131f0fea1831bc1f4b28c68faa779156 (patch)
tree3bfa0fb94e69d7dbeafc3eca3dd1273c12e18861 /virt/kvm/async_pf.c
parent83ae4133ac9410ac6a57136e464d498dc66200cf (diff)
downloadlinux-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