Skip to content

fast_io.rs: splice if copy_file_range is not supported #443

Open

Description

@oech3

copy_file_range is limited e.g. copy_file_range to pipe is impossible. In the case, we should try extending stdout's pipe size by fcntl and splice.

Moreover, mmap should be done for memfd to prevent SIGBUS when input was truncated.
@dspinellis

Activity

  1. added 3 commits that reference this issue on Jun 5, 2026
    ba25c09
    6972743
    581e725
  2. added 5 commits that reference this issue on Aug 12, 2026
    bd5b0e2
    25aead9
    6bb25e7
    7551756
    1889db5
  3. added a commit that references this issue on Sep 30, 2026
    9c4fd15
  4. changed the title [-]fast_io.rs: use sendfile or splice if copy_file_range is not supported[/-] [+]fast_io.rs: splice if copy_file_range is not supported[/+] on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions