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

read: be generic over the type of fd #27

Merged
merged 4 commits into from
Dec 12, 2023
Merged

Conversation

problame
Copy link
Collaborator

No description provided.

problame added a commit to neondatabase/neon that referenced this pull request Dec 11, 2023
Pass `FileGuard` to the tokio-epoll-uring read() operatio.
and avoids the nasty scopeguard usage.

This makes the `read_exact_at` cancel-safe.

Depends on neondatabase/tokio-epoll-uring#27
uring-common/src/io_fd.rs Outdated Show resolved Hide resolved
@problame problame marked this pull request as ready for review December 12, 2023 10:02
@problame problame merged commit 43cad2a into main Dec 12, 2023
2 checks passed
@problame problame deleted the problame/generic-owned-fd branch December 12, 2023 10:10
problame added a commit to neondatabase/neon that referenced this pull request Dec 12, 2023
Pass `FileGuard` to the tokio-epoll-uring read() operation.
and avoids the nasty scopeguard usage.

This makes the `read_exact_at` cancel-safe.

Depends on neondatabase/tokio-epoll-uring#27
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.

2 participants