Skip to content

Conversation

@github-actions
Copy link

Merge branch 'lxc:main' into main

mihalicyn and others added 5 commits January 19, 2026 15:43
Previously, I've added lxc/lxc-ci#714,
but this stuff was lost during our switch to GH Actions
from Jenkins.

Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>
github: test io_uring-based event loop
…o handlers

Previously, lxc_write_nointr could return without writing all data
when write() returned EAGAIN/EWOULDBLOCK due to buffer full conditions.

This change:
- Implements a loop to continue writing until all data is sent
- Handles EINTR, EAGAIN, and EWOULDBLOCK errors appropriately
- Uses poll() to wait for fd to become ready when blocked
- Maintains backward compatibility while fixing partial write issues

Signed-off-by: DreamConnected <1487442471@qq.com>
[ alex ]
- introduce a separate helper lxc_write_all and use it only in ptx/peer
  io handlers
- cleanup the code a bit
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>
…n pts

Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>
lxc-attach: fix data corruption during heavy IO on PTS
@DreamConnected DreamConnected self-assigned this Jan 23, 2026
@DreamConnected DreamConnected self-requested a review January 23, 2026 05:13
@DreamConnected DreamConnected merged commit 281889e into Container-On-Android:main Jan 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants