[PATCH] check kernel version for io_method - Mailing list pgsql-hackers

From Pierre
Subject [PATCH] check kernel version for io_method
Date
Msg-id 17879f12-609b-4730-bfff-6dd11a46d5e6@gmail.com
Whole thread Raw
Responses Re: [PATCH] check kernel version for io_method
List pgsql-hackers
Hello,


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.

This is not  a document patch but code patch using a GUC hook to :

- check liburing setup

- check kernel version

to allow/disallow io_method=io_uring


I have made successfull tests on:

- Alma Linux 9.7/ kernel 5.14 without liburing setup

- Debian 12 / kernel 6.1 with liburing-dev


NB:

This is my first patch and I apologize if it is not fully compliant with 
patching rules.


Thanks.






Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Enhancing Memory Context Statistics Reporting
Next
From: Rustam ALLAKOV
Date:
Subject: Re: Add support for EXTRA_REGRESS_OPTS for meson