You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
io_uring allows for async file opening, so it's possible that AsyncIOFromFile could take the queue object as an argument and make this operation optionally non-blocking depending on the backend. If the argument against is that this makes the behavior inconsistent across implementations, I understand, but I wanted to raise the issue just in case.
The text was updated successfully, but these errors were encountered:
It could also make sense to use a threadpool for 'async' opens on targets that don't natively have them. Opening a file isn't guaranteed to be fast on Windows, thanks to filter drivers, virus scanners, etc.
We opted not to do it because only io_uring supported it, and we are hoping that opening is (generally) a fast operation, but also we were concerned about the added complexity to the app in making this part also async.
io_uring allows for async file opening, so it's possible that AsyncIOFromFile could take the queue object as an argument and make this operation optionally non-blocking depending on the backend. If the argument against is that this makes the behavior inconsistent across implementations, I understand, but I wanted to raise the issue just in case.
The text was updated successfully, but these errors were encountered: