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 #65

Closed
Tracked by #101
tavianator opened this issue Jan 24, 2021 · 2 comments
Closed
Tracked by #101

io_uring #65

tavianator opened this issue Jan 24, 2021 · 2 comments

Comments

@tavianator
Copy link
Owner

Once https://lkml.org/lkml/2021/1/23/76 or something like it lands, we can use it to do async openat()/readdir(). This is likely to be a better approach than #46.

It does mean we'll need to do our own readdir() wrapper over getdents(). Looks like I'll be doing #9 (comment) after all.

@tavianator
Copy link
Owner Author

@tavianator
Copy link
Owner Author

So io_uring still does not have getdents() support: https://lore.kernel.org/io-uring/YdCyoQNPNcaM9rqD@zeniv-ca.linux.org.uk/

But doing something similar in userspace seems to work well: https://github.com/tavianator/bfs/tree/ioq. Very much a work-in-progress since open FD accounting is still broken and some of bfs is not thread-safe (e.g. lazy statics and use of fork()). Oh and it breaks -s.

This was referenced Jun 12, 2023
tavianator added a commit that referenced this issue Jul 11, 2023
tavianator added a commit that referenced this issue Jul 11, 2023
tavianator added a commit that referenced this issue Jul 12, 2023
tavianator added a commit that referenced this issue Jul 12, 2023
tavianator added a commit that referenced this issue Jul 12, 2023
tavianator added a commit that referenced this issue Jul 22, 2023
tavianator added a commit that referenced this issue Aug 23, 2023
tavianator added a commit that referenced this issue Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant