diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2025-11-17 16:37:57 +0100 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2025-12-02 02:24:37 +0100 |
| commit | 4371a6cff94c703caf54d45fcb1bd9511642861d (patch) | |
| tree | 08acaeeee5768a601aa48c61d710b00134d3230a /src/corelib/concurrent/qfuturewatcher.cpp | |
| parent | 108d79730879db8ee2a0d7e7687296103af9a909 (diff) | |
QIORing/Linux: handle >2gib reads&writes
Linux internally truncates any read and write at a limit of
'MAX_RW_COUNT', which is slightly less than 2 GiB, for a few reasons.
We will work around it by reading or writing some segments at a time,
re-issuing another read/write operation whenever one completes until
completed, EOF if reading, or an error occurs.
Note that this MAX_RW_COUNT also applies to readv and writev, which
means we would need a similar mechanism there to handle this. This is
to be done in a follow-up.
Task-number: QTBUG-136763
Change-Id: I9bcb75587ae5e84cb80ea3950a569f60c4906617
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/corelib/concurrent/qfuturewatcher.cpp')
0 files changed, 0 insertions, 0 deletions
