Incrementally consumed buffer fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | io_uring/kbuf: fix missing BUF_MORE for incremental buffers at EOFio_uring/ | +4 | 0 replies | |
| 2/2 | io_uring/kbuf: propagate BUF_MORE through early buffer commit pathinclude/ io_uring/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET 0/2] Incrementally consumed buffer fixes
Hi,
Michael reported two separate issues with incrementally consumed buffers:
1) In case of EOF, or just a 0-byte read in general, BUF_MORE isn't set. As further completions will happen from the given buffer, it should be set.
2) For non-pollable files, the buffers are consumed upfront, yet BUF_MORE is lost as the commit doesn't happen at completion time.
Fix both of these.
Signature · 1 line
Jens Axboe