diff options
author | Timofey Titovets <nefelim4ag@gmail.com> | 2018-05-02 07:15:38 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:24:07 +0200 |
commit | 67b07bd4bec53be0aa5a8496aef7a4ee2c7f97bf (patch) | |
tree | 043921c8337cdd8fef7138c6253944adef7f09fe /include/sound | |
parent | Btrfs: dedupe_file_range ioctl: remove 16MiB restriction (diff) | |
download | linux-67b07bd4bec53be0aa5a8496aef7a4ee2c7f97bf.tar.xz linux-67b07bd4bec53be0aa5a8496aef7a4ee2c7f97bf.zip |
Btrfs: reuse cmp workspace in EXTENT_SAME ioctl
We support big dedup requests by splitting range to smaller parts, and
call dedupe logic on each of them.
Instead of repeated allocation and deallocation, allocate once at the
beginning and reuse in the iteration.
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions