Hi Jens and all, On 6/9/23 20:20, Hao Xu wrote:
From: Hao Xu <howeyxu@xxxxxxxxxxx> The initial feature request by users is here: https://github.com/axboe/liburing/issues/296 Fixed worker provide a way for users to control the io-wq threads. A fixed worker is worker thread which exists no matter there are works to do or not. We provide a new register api to register fixed workers, and a register api to unregister them as well. The parameter of the register api is the number of fixed workers users want.
Here is a liburing test case to show how it works: https://github.com/axboe/liburing/commit/bc9e862d1317f2466381adb6243be8cc86c3bd27 Regards, Hao