liburing icon indicating copy to clipboard operation
liburing copied to clipboard

io_uring_submit: Device or resource busy (EBUSY) reports this error. What situations can cause this error?

Open aidosww opened this issue 1 year ago • 4 comments

aidosww avatar May 27 '24 08:05 aidosww

Please include some actual details on what you are doing, what devices are involved, what kernel, etc. As it stands, this question is rather useless.

axboe avatar May 27 '24 15:05 axboe

Please include some actual details on what you are doing, what devices are involved, what kernel, etc. As it stands, this question is rather useless.

I am using kernel 5.10, the default io_uring configuration. When I judge that io_uring queue is full, I submit read file tasks with io_uring_submit, and after running for a period of time, the above error is reported.

aidosww avatar May 28 '24 01:05 aidosww

Please try a more recent and supported kernel, the ancient ones don't have proper -EAGAIN handling on the storage side (which I'm guessing is what you are doing, you didn't really answer that part). Anything 6.x should be fine.

In general, 5.10 and similar are just too old to be supported.

axboe avatar May 28 '24 12:05 axboe

Please try a more recent and supported kernel, the ancient ones don't have proper -EAGAIN handling on the storage side (which I'm guessing is what you are doing, you didn't really answer that part). Anything 6.x should be fine.

In general, 5.10 and similar are just too old to be supported.

Thank you very much! In fact, we can only use the 5.10 kernel in our Development Environment. I am indeed developing a storage I/O interface based on liburing and have encountered many problems. 1、Can I solve the above problem by repeatedly calling the io_uring_submit interface? 2、What specific problem caused this error?

aidosww avatar May 29 '24 02:05 aidosww