Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 7f3dc6c9 authored by Reed Riley's avatar Reed Riley Committed by Kent Overstreet
Browse files

bcachefs: support REMAP_FILE_DEDUP in bch2_remap_file_range


By removing the early-exit when REMAP_FILE_DEDUP is set, we should be
able to support the fideduperange ioctl, albeit less efficiently than if
we handled some of the extent locking and comparison logic inside
bcachefs.  Extent comparison logic already exists inside of
`__generic_remap_file_range_prep`.

Signed-off-by: default avatarReed Riley <reed@riley.engineer>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 7a254053
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment