Re: [PATCH v2] io_uring/rw: fix missing ERESTARTSYS conversion in read paths
Jens Axboe <[email protected]> Wed, 22 Jul 2026 07:37:14 -0600
| Newsgroups | org.kernel.vger.io-uring,org.kernel.vger.stable |
|---|---|
| Message-ID | <178472743437.597590.12441381990712899617.b4-ty@b4> |
On Wed, 22 Jul 2026 20:45:51 +0800, Yitang Yang wrote:
> Both read and write may receive internal restart error codes from
> the filesystem layer and should be converted to -EINTR. However,
> when multishot read support was added, the error code normalization
> was lost for both io_read() and io_read_mshot().
>
> Extract the conversion into io_fixup_restart_res() and apply it
> in all three locations: io_rw_done(), io_read(), and io_read_mshot().
>
> [...]
Applied, thanks!
[1/1] io_uring/rw: fix missing ERESTARTSYS conversion in read paths
commit: ab05caca123c6d0b41850b7c05b246e4dca4a770
Best regards,
--
Jens Axboe