diff options
author | 2024-04-03 13:57:30 -0400 | |
---|---|---|
committer | 2024-05-07 21:31:10 +0200 | |
commit | cd241a8f554c258e92a694f6aa07e90b89ddebe6 (patch) | |
tree | 7a24f5f60c7e90b1d696e08e9b5191af7d1a1215 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: push lock_extent into cow_file_range_inline (diff) | |
download | wireguard-linux-cd241a8f554c258e92a694f6aa07e90b89ddebe6.tar.xz wireguard-linux-cd241a8f554c258e92a694f6aa07e90b89ddebe6.zip |
btrfs: move can_cow_file_range_inline() outside of the extent lock
These checks aren't reliant on the extent lock. Move this up into
cow_file_range_inline(), and then update encoded writes to call this
check before calling __cow_file_range_inline(). This will allow us to
skip the extent lock if we're not able to inline the given extent.
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions