Skip to content

Deduplicate copyFdRange with new readOffset#15028

Merged
Ericson2314 merged 1 commit into
masterfrom
copyFdRange-improvements
Jan 22, 2026
Merged

Deduplicate copyFdRange with new readOffset#15028
Ericson2314 merged 1 commit into
masterfrom
copyFdRange-improvements

Conversation

@Ericson2314
Copy link
Copy Markdown
Member

@Ericson2314 Ericson2314 commented Jan 20, 2026

Motivation

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@Ericson2314 Ericson2314 requested a review from edolstra as a code owner January 20, 2026 18:39
@Ericson2314 Ericson2314 requested review from xokdvium and removed request for edolstra January 20, 2026 18:39
@xokdvium
Copy link
Copy Markdown
Contributor

Can we split out the readOffset into a separate PR. That sounds good to me, but I'm not sure we actually have a use-case for sendfile at the moment. I'm happy to revisit that once we can make use of it and it's actually more performat. When I was testing that with nix store cat it turned out to actually be slower.

@Ericson2314 Ericson2314 force-pushed the copyFdRange-improvements branch from 54571f7 to 967159c Compare January 21, 2026 16:25
@Ericson2314 Ericson2314 changed the title copyFdRange improvements Deduplicate copyFdRange with new readOffset Jan 21, 2026
@Ericson2314
Copy link
Copy Markdown
Member Author

@xokdvium done!

Comment thread src/libutil/file-descriptor.cc
Comment thread src/libutil/file-descriptor.cc
@Ericson2314 Ericson2314 force-pushed the copyFdRange-improvements branch from 967159c to fa53a9c Compare January 21, 2026 23:42
@Ericson2314 Ericson2314 enabled auto-merge January 21, 2026 23:45
@Ericson2314 Ericson2314 added this pull request to the merge queue Jan 22, 2026
Merged via the queue into master with commit 07a3171 Jan 22, 2026
18 checks passed
@Ericson2314 Ericson2314 deleted the copyFdRange-improvements branch January 22, 2026 01:16
brittonr pushed a commit to brittonr/nix that referenced this pull request Apr 1, 2026
Deduplicate `copyFdRange` with new `readOffset`
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