On 11/24/22 4:47 AM, Ammar Faizi wrote: > On 11/24/22 5:14 PM, Dylan Yudaken wrote: >> I think changing the tests to use the public API is probably better >> than exporting this function. I don't believe it has much general use? > > But there is no public API that does the same thing. I'll mark it > as static and create a copy of that function in iopoll.c (in v2). > > Something like this, what do you think? Yeah I think this is better for now, and then we can work on fixing the test. Sanity of the core parts of the library is a lot more important than some test case. -- Jens Axboe