axboe / liburing

Library providing helpers for the Linux kernel io_uring support
MIT License
2.7k stars 393 forks source link

uring threads cant exit in background #1146

Closed osevan closed 1 month ago

osevan commented 1 month ago

Hi devs,

With my performance test with stress-ng uring tests, threads in background still running.

I already opened bugreport here:

https://github.com/ColinIanKing/stress-ng/issues/370

but its uring library issue.

Here log of stess-ng test

https://defuse.ca/b/ajF0ZKHb

Thanks and

Best Regards

axboe commented 1 month ago

That looks like a kernel issue. I'll take a look.

axboe commented 1 month ago

Can you try a current 6.8-stable?

axboe commented 1 month ago

Would also be nice to know what fs and device you are running this on, the log is a bit cryptic on that front. Doesn't reproduce for me here.

osevan commented 1 month ago

Zfs, Arch linux, haswell i7 cpu Ok i will test

And report back

axboe commented 1 month ago

The symptom is that a request is stuck, so it's most likely an issue on the zfs side. The io_uring cancelation is complaining because it didn't manage to reap it after 60s of trying. There's really nothing I can do do debug an issue on a tainted kernel and with an out-of-tree module.