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

Méven Car noreply at phabricator.kde.org
Mon Nov 11 08:12:59 GMT 2019


meven marked 3 inline comments as done.
meven added inline comments.

INLINE COMMENTS

> file_unix.cpp:266
>  #ifdef USE_SENDFILE
> -    bool use_sendfile = buff_src.st_size < 0x7FFFFFFF;
> +    bool use_sendfile = true;
>  #endif

This prevented using sendfile for file bigger than 2 GB.
Our code has no reason to have this restriction.

REPOSITORY
  R241 KIO

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

To: meven, dfaure, #frameworks, davidedmundson
Cc: ahmadsamir, 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/20191111/6d1d6a37/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list