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

When will fileRegion be supported? #210

Open
weitingyuk opened this issue Aug 17, 2023 · 7 comments
Open

When will fileRegion be supported? #210

weitingyuk opened this issue Aug 17, 2023 · 7 comments

Comments

@weitingyuk
Copy link

The io_uring transport does not currently support fileRegion, when will fileRegion be supported? We are eager to try iouringFileRegion.

@weitingyuk
Copy link
Author

@1Jo1 Cloud you mind help to see this issue?

@normanmaurer
Copy link
Member

Seems like while sendfile is not directly supported by io_uring itself it is possible to kind of create the same functionality by using splice: https://lwn.net/Articles/810482/

@weitingyuk
Copy link
Author

@normanmaurer I don't know much about the Linux kernel. Will netty io_uring consider using splice to implement fileRegion?

@weitingyuk
Copy link
Author

I'm not sure there is some gap for netty io_uring to implement fileRegion by using splice.

@normanmaurer
Copy link
Member

Yes .... I just left the comment for the future so I dont forget. I am currently busy but might implement it once I have some cycles.

@weitingyuk
Copy link
Author

We really want to try the file region in netty io_uring. If there is no plan for this currently, we can only abandon this plan, thanks very much.

@normanmaurer
Copy link
Member

If someone implements it I am happy to review the code... I dont have the cycles atm to do it myself

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