aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests/extent-buffer-tests.c
diff options
context:
space:
mode:
authorTimofey Titovets <[email protected]>2018-05-02 05:15:38 +0000
committerDavid Sterba <[email protected]>2018-05-28 16:24:07 +0000
commit67b07bd4bec53be0aa5a8496aef7a4ee2c7f97bf (patch)
tree043921c8337cdd8fef7138c6253944adef7f09fe /fs/btrfs/tests/extent-buffer-tests.c
parentBtrfs: dedupe_file_range ioctl: remove 16MiB restriction (diff)
downloadkernel-67b07bd4bec53be0aa5a8496aef7a4ee2c7f97bf.tar.gz
kernel-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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tests/extent-buffer-tests.c')
0 files changed, 0 insertions, 0 deletions