Re: [PATCH] check kernel version for io_method

Andreas Karlsson <andreas@proxel.se>

From: Andreas Karlsson <andreas@proxel.se>
To: Pierre <pierre.forstmann@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2026-01-14T01:07:43Z
Lists: pgsql-hackers
On 1/13/26 11:05 PM, Pierre wrote:
> Please find a patch proposal for bug BUG #19369: Not documented that 
> io_uring on kernel versions between 5.1 and below 5.6 does not work.
Wouldn't it make more sense to use io_uring_get_probe_ring() and 
io_uring_opcode_supported() to actually check for the required opcode? 
Then if someone uses a Kernel with the required features backported 
everything will still work.

Andreas