D25079: [CopyJob] Increase the amount of data sendfile can copy at once

Harald Sitter noreply at phabricator.kde.org
Wed Oct 30 16:13:04 GMT 2019


sitter added a comment.


  TBH, I would move away from the hardcoding in general.... try to sendfile size_of_file and `if n < size` use n as new count for the next cycle. The second cycle will use the maximum regardless of what the specific kernel version has as maximum.
  The maximum is an implementation detail of the kernel that may change every release, so hardcoding anything seems wrong here.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D25079

To: meven, dfaure, #frameworks, davidedmundson
Cc: sitter, apol, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191030/10a1413b/attachment.html>


More information about the Kde-frameworks-devel mailing list