[LTP] lapi/io_uring: Add IORING_OP_READ/WRITE constants
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Mon Apr 27 17:50:56 CEST 2026
Hi Martin,
On Mon, 27 Apr 2026 17:01:35 +0200, Martin Doucha wrote:
> lapi/io_uring: Add IORING_OP_READ/WRITE constants
> +#else /* IOSQE_FIXED_FILE */
> +
> +#if !HAVE_DECL_IORING_OP_READ
> +#define IORING_OP_READ 22
> +#endif
> +
> +#if !HAVE_DECL_IORING_OP_WRITE
> +#define IORING_OP_WRITE 23
> +#endif
Placement and values are correct: IOSQE_FIXED_FILE was introduced in v5.1,
IORING_OP_READ/WRITE in v5.6, so this handles the v5.1-v5.5 gap cleanly.
Reviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>
---
Note:
Our agent completed the review of the patch.
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list