]> git.hungrycats.org Git - linux/commit
btrfs: get rid of maximum dedupe length
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Tue, 12 Nov 2024 01:32:54 +0000 (20:32 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Thu, 14 Nov 2024 22:33:45 +0000 (17:33 -0500)
commit452a928ab0da163fbd2f82d63851539f907b1633
tree350b8f431fe00ac40af9c271486b48b87ed7439b
parent3bdaa86a8df64a4bdb07c54422dfcc559fb8f902
btrfs: get rid of maximum dedupe length

Since v4.20, the dedupe compare function allocates memory one page at
a time, removing the need to limit the length of any stage of a dedupe
operation.  So let's remove the limit too, since it forces the creation
of short extents.

Signed-off-by: Zygo Blaxell <ce3g8jdj@umail.furryterror.org>
(cherry picked from commit 6d1620667f1f4072faf405fe1cb97cfbcffc7d85)
fs/btrfs/reflink.c