Skip to content

read: be generic over the type of fd#27

Merged
problame merged 4 commits intomainfrom
problame/generic-owned-fd
Dec 12, 2023
Merged

read: be generic over the type of fd#27
problame merged 4 commits intomainfrom
problame/generic-owned-fd

Conversation

@problame
Copy link
Copy Markdown
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
Comment thread uring-common/src/io_fd.rs Outdated
@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
@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