Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aidosww opened this issue May 27, 2024 · 4 comments

Comments

@aidosww
Copy link

aidosww commented May 27, 2024

No description provided.

@axboe
Copy link
Owner

axboe commented May 27, 2024

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.

@aidosww
Copy link
Author

aidosww commented May 28, 2024

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.

@axboe
Copy link
Owner

axboe commented May 28, 2024

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.

@aidosww
Copy link
Author

aidosww commented May 29, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants