Skip to content

What is the maximum size for read and write operations? #497

Answered by axboe
ioquatix asked this question in Q&A
Discussion options

You must be logged in to vote

For Ruby, I guess capping it at 2G would be sensible and ensure that it matches what io_uring is able to do per request?

Or maybe, since it's the same regardless of what system call you use to transfer IO on Linux, you can just ignore it? If someone attempts a > 2GB IO request, it'll essentially just look like a short read/write to the application.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@axboe
Comment options

@ioquatix
Comment options

@axboe
Comment options

@ioquatix
Comment options

@axboe
Comment options

Comment options

You must be logged in to vote
1 reply
@ioquatix
Comment options

Answer selected by ioquatix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants