transmission/libtransmission
Mike Gelfand 81f8ceb0f9
Limit in-kernel file copying to 2 GiB blocks at a time (#5039)
This reportedly helps with copying to cifs target where
`copy_file_range()` would sometimes return `EINVAL` for no apparent
reason when copying large files. Extending the limit to `sendfile64()`
to avoid similar issue there, if it exists.

Overall, copying at most 2 GiB at a time will result in more syscalls
but shouldn't affect the performance gain in any noticeable way.
2023-02-25 03:15:17 +00:00
..
.clang-tidy fix: cppcoreguidelines-pro-type-cstyle-cast (#4685) 2023-01-28 15:26:23 -06:00
CMakeLists.txt fix: link libquota on NetBSD to fix FTBFS (#4863) 2023-02-13 12:04:14 -06:00
announce-list.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
announce-list.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
announcer-common.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
announcer-http.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
announcer-udp.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
announcer.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
announcer.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
bandwidth.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
bandwidth.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
benc.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
bitfield.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
bitfield.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
block-info.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
block-info.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
blocklist.cc fix: blocklists allocate more memory than they need (#4953) 2023-02-19 09:20:23 -06:00
blocklist.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
cache.cc fix: handle block fragments that arrive from peers out-of-order (#4890) 2023-02-14 13:50:28 -06:00
cache.h fix: handle block fragments that arrive from peers out-of-order (#4890) 2023-02-14 13:50:28 -06:00
clients.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
clients.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
completion.cc fix: assertion failed leftUntilDone <= sizeWhenDone (#4879) 2023-02-13 19:51:23 -06:00
completion.h fix: assertion failed leftUntilDone <= sizeWhenDone (#4879) 2023-02-13 19:51:23 -06:00
crypto-utils-ccrypto.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
crypto-utils-fallback.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
crypto-utils-mbedtls.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
crypto-utils-openssl.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
crypto-utils-wolfssl.cc style: use the new paragraph comment style everywhere (#4634) 2023-01-22 13:21:30 -06:00
crypto-utils.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
crypto-utils.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
error-types.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
error.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
error.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
file-piece-map.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
file-piece-map.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
file-posix.cc Limit in-kernel file copying to 2 GiB blocks at a time (#5039) 2023-02-25 03:15:17 +00:00
file-win32.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
file.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
file.h daemon: check whether log file is regular and may be flushed (#4612) 2023-01-18 12:46:57 -06:00
handshake.cc fix: try utp connection first; fix utp timeout issues. (#4897) 2023-02-18 10:03:59 -06:00
handshake.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
history.h underscores in documentation comments should be code escaped (#4639) 2023-01-23 10:26:11 -06:00
inout.cc fix: checksum of pieces that don't align on block boundaries (#4880) 2023-02-13 20:57:20 -06:00
inout.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
interned-string.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
libt.dox
log.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
log.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
lru-cache.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
magnet-metainfo.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
magnet-metainfo.h refactor: add TR_CONSTEXPR20 to make future C++20 migration easier (#4457) 2022-12-23 15:21:40 -06:00
makelog refactor: misc-use-anonymous-namespace pt. 4 (#4550) 2023-01-07 12:58:16 -06:00
makemeta.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
makemeta.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
mime-types.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
mime-types.js chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
net.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
net.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
open-files.cc fix: cannot build with clang on Windows (#4978) 2023-02-21 11:08:28 -06:00
open-files.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-common.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-io.cc fix: try utp connection first; fix utp timeout issues. (#4897) 2023-02-18 10:03:59 -06:00
peer-io.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-mgr-active-requests.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-mgr-active-requests.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-mgr-wishlist.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-mgr-wishlist.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-mgr.cc fix: magnet links are always paused when added (#4856) 2023-02-13 12:33:33 -06:00
peer-mgr.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-mse.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-mse.h chore: remove invalid assertion test (#4860) 2023-02-12 18:38:18 -06:00
peer-msgs.cc fix: handle block fragments that arrive from peers out-of-order (#4890) 2023-02-14 13:50:28 -06:00
peer-msgs.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-socket.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-socket.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
platform-quota.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
platform-quota.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
platform.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
platform.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding-natpmp.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding-natpmp.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding-upnp.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding-upnp.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
quark.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
quark.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
resume.cc fix: magnet links are always paused when added (#4856) 2023-02-13 12:33:33 -06:00
resume.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
rpc-server.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
rpc-server.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
rpcimpl.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
rpcimpl.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
session-alt-speeds.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
session-alt-speeds.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
session-id.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
session-id.h fix: coverity warnings (#3632) 2022-08-13 12:11:07 -05:00
session-settings.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
session-settings.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
session-thread.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
session-thread.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
session.cc fix: port forwarding flag not saved between sessions (#4842) 2023-02-11 20:49:16 -06:00
session.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
stats.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
stats.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
subprocess-posix.cc refactor: misc-use-anonymous-namespace pt. 4 (#4550) 2023-01-07 12:58:16 -06:00
subprocess-win32.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
subprocess.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
timer-ev.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
timer-ev.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
timer.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
torrent-ctor.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
torrent-files.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
torrent-files.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
torrent-magnet.cc fix: magnet links are always paused when added (#4856) 2023-02-13 12:33:33 -06:00
torrent-magnet.h fix: magnet links are always paused when added (#4856) 2023-02-13 12:33:33 -06:00
torrent-metainfo.cc fix: do not lose magnet links when upgrading from tr3 to 4 (#4840) 2023-02-12 18:10:54 -06:00
torrent-metainfo.h fix: do not lose magnet links when upgrading from tr3 to 4 (#4840) 2023-02-12 18:10:54 -06:00
torrent.cc fix: TR_TIME_LOCALTIME value in torrent scripts (#5006) 2023-02-23 07:18:29 -06:00
torrent.h fix: magnet links are always paused when added (#4856) 2023-02-13 12:33:33 -06:00
torrents.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
torrents.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-arc4.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-assert.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-assert.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-assert.mm Revert "fix: remove abort() call from tr_assert_message() (#4696)" (#4851) 2023-02-12 08:16:20 -06:00
tr-buffer.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-dht.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-dht.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-getopt.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-getopt.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-lpd.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-lpd.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-macros.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-popcount.h fix: Remove faulty `popcnt` features checks for MSVC [#4872] (#4886) 2023-02-18 02:11:56 +00:00
tr-strbuf.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-udp.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-utp.cc fix: try utp connection first; fix utp timeout issues. (#4897) 2023-02-18 10:03:59 -06:00
tr-utp.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
transmission.h Don't force fetch metainfo at startup and new torrents. (#4895) 2023-02-14 22:19:47 -06:00
utils-ev.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
utils-ev.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
utils.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
utils.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
variant-benc.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
variant-common.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
variant-converters.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
variant-json.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
variant.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
variant.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
verify.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
verify.h refactor: make some local pointer vars pointer-to-const (#4262) 2022-11-28 09:45:39 -06:00
version.h.in build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00
watchdir-base.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
watchdir-generic.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
watchdir-inotify.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
watchdir-kqueue.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
watchdir-win32.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
watchdir.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
watchdir.h fix: cppcoreguidelines-pro-type-cstyle-cast (#4685) 2023-01-28 15:26:23 -06:00
web-utils.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
web-utils.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
web.cc chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
web.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
webseed.cc fix: handle block fragments that arrive from peers out-of-order (#4890) 2023-02-14 13:50:28 -06:00
webseed.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00