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

internal::io_request: add discard operation #2330

Conversation

pwrobelse
Copy link
Contributor

This patch is a part of the preparation to route discard requests
via I/O scheduler. In spite of the fact that 'fallocate()' is
not supported by Linux AIO and thus reactor backend will not
support it, the existing infrastructure around io_queue is
going to use internal::io_request with the fields related to
discard operation.

This change extends internal::io_request with 'discard' operation type.

This patch is a part of the preparation to route discard requests
via I/O scheduler. In spite of the fact that 'fallocate()' is
not supported by Linux AIO and thus reactor backend will not
support it, the existing infrastructure around io_queue is
going to use internal::io_request with the fields related to
discard operation.

This change extends internal::io_request with 'discard' operation type.

Signed-off-by: Patryk Wrobel <[email protected]>
@pwrobelse pwrobelse marked this pull request as ready for review July 5, 2024 11:28
@pwrobelse pwrobelse requested a review from xemul July 5, 2024 11:29
@pwrobelse
Copy link
Contributor Author

Closing in favor of: #2386

@pwrobelse pwrobelse closed this Aug 19, 2024
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

Successfully merging this pull request may close these issues.

1 participant