-
Notifications
You must be signed in to change notification settings - Fork 29
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
AIOfile 3.0.0. raises (22, 'Invalid argument') if used on Ubuntu 18.4 #42
Comments
So strange, cause all tests running on the ubuntu 18.04 based image. I guess it's not an ubuntu version problem, could you please provide detailed environment information? |
Might be rewrite your test using caio directly and rerun it on you environment will be more clear and helps determine the problem. |
The same problem |
Please provide the kernel versions |
The problem is repeated on |
Fixed in caio==0.6.0. Linux before 4.14 never will work correctly I guess in this case. The caio==0.6.0 checks the kernel version and use another implementation as a fallback. Not ideal but works out of the box. UPD: OMG. After some tests, I found out the correct versions. So FSYNC and FDSYNC start working since 4.18 (prints RunitmeWarning added after module import) |
After the following issues I restrict linux_aio modile loading with kernel before 4.18. So the thread based implementation will be works in this case. |
AIOfile 1.5.1 worked fine with Ubuntu18.04, but AIOfile 3.0.0 raises an issue (22, 'Invalid argument') on Ubuntu18.04
AIOfile 3.0.0 works fine on Ubuntu20.04
test script:
output:
works fine with ubuntu20.04
regards Stefan
The text was updated successfully, but these errors were encountered: