summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2026-07-28 18:41:23 +0930
committerDavid Sterba <dsterba@suse.com>2026-08-07 19:17:18 +0200
commite7f4c05a8307701da8bc8d0391540adf6c13fcfe (patch)
treef2d318738fff626f57998bed511a3f3ebb008550 /tools/perf/scripts/python
parent681e073614515b892cacef0eeec0c761a2c2ab87 (diff)
btrfs: use aligned range for locking in reflink
In btrfs_extent_same_range() and btrfs_clone_files(), the range passed into btrfs_lock_extent() is not aligned at its end, because we can reflink until the EOF, which may not be block aligned. Although this is not a big deal, for the sake of consistency, and to prepare for the upcoming stricter alignment check, pass an aligned range end to btrfs_lock_extent() and btrfs_unlock_extent(). Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions