Skip to content

Commit

Permalink
btrfs: scrub: Remove unused copy_nocow_pages and its callchain
Browse files Browse the repository at this point in the history
Since commit ac0b414 ("btrfs: scrub: Don't use inode pages
for device replace") the function is not used and we can remove all
functions down the call chain.

There was an optimization that reused inode pages to speed up device
replace, but broke when there was nodatasum and compressed page. The
potential performance gain is small so we don't loose much by removing
it and using scrub_pages same as the other pages.

Signed-off-by: Qu Wenruo <wqu@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
  • Loading branch information
Qu Wenruo authored and David Sterba committed Aug 6, 2018
1 parent a944442 commit 9bebe66
Showing 1 changed file with 0 additions and 365 deletions.
Loading

0 comments on commit 9bebe66

Please sign in to comment.